From 6de951a8a4857b6882ac4ea26114105bf5fa2f8e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 16 Dec 2016 21:36:04 +0300 Subject: [PATCH] Use xargs -I% --- pull-usrlocalsrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pull-usrlocalsrc b/pull-usrlocalsrc index 92156d9..2fb2f2f 100755 --- a/pull-usrlocalsrc +++ b/pull-usrlocalsrc @@ -14,6 +14,6 @@ while read d; do if has_remote upstream && has_remote origin; then git pull upstream master && git push origin master || exit 1 else - git remote | xargs -I'{}' git pull '{}' master || exit 1 + git remote | xargs -I% git pull % master || exit 1 fi done -- 2.39.2