From: Thomas Debesse Date: Sun, 28 Nov 2021 00:39:02 +0000 (+0100) Subject: library-bundler: proper xargs usage X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9001168c233c5a32ea3b99e8974ff4659c465005;p=xonotic%2Fnetradiant.git library-bundler: proper xargs usage Prevent this warning: xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value --- diff --git a/library-bundler b/library-bundler index b08b9c89..54056c41 100755 --- a/library-bundler +++ b/library-bundler @@ -39,7 +39,7 @@ Common::getPath () { if [ "${file_path}" = '-' ] then tr '\n' '\0' \ - | xargs -0 -n1 -P1 -I{} \ + | xargs -0 -P1 -I{} \ cygpath --unix '{}' else cygpath --unix "${file_path}" @@ -448,7 +448,7 @@ Windows::listLibForManifest () { -name '*.dll' \ -exec basename {} \; \ | tr '\n' '\0' \ - | xargs -0 -n1 -P1 -I{} \ + | xargs -0 -P1 -I{} \ printf ' \n' }