chiark / gitweb /
Do not dump sql results table if not debug
[ypp-sc-tools.db-live.git] / yarrg / web / source.tar.gz
index 8825da4a500f6b974e2614f78ce2a05d35dc3ddf..13cd22f4d9040724a67d18839794b649493f2911 100755 (executable)
@@ -53,7 +53,10 @@ if (!$pid) {
                 git-ls-files -z;
                 git-ls-files -z --others --exclude-from=.gitignore;
                 if test -d .git; then find .git -print0; fi
-               ) | cpio -Hustar -o --quiet -0 -R 1000:1000 | gzip
+               ) | (
+                cpio -Hustar -o --quiet -0 -R 1000:1000 || \
+                cpio -Hustar -o --quiet -0
+               ) | gzip
        ';
        die $!;
 }