From: Ian Jackson Date: Sun, 16 Aug 2009 02:09:44 +0000 (+0100) Subject: Cope when cpio doesn't like -o -R X-Git-Tag: 3.4~181 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=commitdiff_plain;h=4fb78394230484f9e923039f4f177fefb04ae8f3 Cope when cpio doesn't like -o -R --- diff --git a/yarrg/web/source.tar.gz b/yarrg/web/source.tar.gz index 8825da4..13cd22f 100755 --- a/yarrg/web/source.tar.gz +++ b/yarrg/web/source.tar.gz @@ -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 $!; }