diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-15 22:08:17 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-15 22:08:17 -0400 |
commit | 9bb1ddbaf5f0585f5854ee2c25204bda56b32974 (patch) | |
tree | 4ceccd65dc8693ddfdc62f50a7dea14c27445c9d /src/librefetch | |
parent | 7cdbee3ef93c1bef4b79310e4ef46cbde18c534f (diff) |
librefetch: Fix bug with xargs calling tar too many times (cut xargs out)
Diffstat (limited to 'src/librefetch')
-rwxr-xr-x | src/librefetch/librefetch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch index b29598d..11cf380 100755 --- a/src/librefetch/librefetch +++ b/src/librefetch/librefetch @@ -276,7 +276,7 @@ makepkg_modify=' # - pass --format=ustar to bsdtar, to inhibit it using the pax format # - take the files that would be included in the tarball, and use # find/sort/xargs to order them before passing them to bsdtar - s/bsdtar(.*) - ([^|]*) \|/find \2 -print0 | LC_ALL=C sort --zero-terminated | xargs -0 bsdtar --format=ustar --no-recursion \1 - |/ + s/bsdtar(.*) - ([^|]*) \|/find \2 -print0 | LC_ALL=C sort --zero-terminated | bsdtar --null --files-from - --format=ustar --no-recursion \1 - |/ s/create_signature .*/&; return $?/ # do not procede to create symlinks } |