build: fixed copy_script typo
authorAndrew Tridgell <tridge@samba.org>
Fri, 26 Mar 2010 02:25:10 +0000 (13:25 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:07 +0000 (20:27 +1000)
buildtools/wafsamba/wafsamba.py

index cb7e1a55cea222963d7a3bf2c5a9075f74b676d4..098053d5739fcf72941ced3aadb5cd90abb152fa 100644 (file)
@@ -577,7 +577,7 @@ def symlink_bin(self):
 
 
 
-t = Task.simple_task_type('copy_script', 'rm -f && ln -s ${SRC[0].abspath(env)} ${LINK_TARGET}',
+t = Task.simple_task_type('copy_script', 'rm -f ${LINK_TARGET} && ln -s ${SRC[0].abspath(env)} ${LINK_TARGET}',
                           shell=True, color='PINK', ext_in='.bin')
 t.quiet = True