Apparently sending the tar output to stdout rather than a file causes tar to
[sgt/putty] / mkunxarc.sh
index 78f4b36..a290795 100755 (executable)
@@ -43,5 +43,5 @@ if test "x$ver" != "x"; then
    md5sum `find . -name '*.[ch]' -print` > manifest;
    echo "$ver" > version.def)
 fi
-tar -C uxarc -chzf - $arcname > $arcname.tar.gz
+tar -C uxarc -chzof $arcname.tar.gz $arcname
 rm -rf uxarc