]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Remove a bashism in mksrcarc.sh, without which bob builds fail on
authorSimon Tatham <anakin@pobox.com>
Sun, 22 Jul 2012 19:48:39 +0000 (19:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 22 Jul 2012 19:48:39 +0000 (19:48 +0000)
Ubuntu (whose /bin/sh is not bash).

[originally from svn r9585]

mksrcarc.sh

index eb15407a8ee41ab0717b12834916dd0982495991..50f6cf613c0849af1cb79b62b4c3187dd1184400 100755 (executable)
@@ -20,5 +20,5 @@ bintext=testdata/*.txt
 bin=`{ ls -1 windows/*.ico windows/putty.iss windows/website.url macosx/*.icns; \
        find . -name '*.dsp' -print -o -name '*.dsw' -print; }`
 zip -k -l putty-src.zip $text > /dev/null
-zip -k -l putty-src.zip $bintext >& /dev/null
+zip -k -l putty-src.zip $bintext > /dev/null 2>&1
 zip -k putty-src.zip $bin > /dev/null