From: Oleg Broytman Date: Fri, 7 Oct 2016 13:08:18 +0000 (+0300) Subject: Fix `while read` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=77bef1e2535afe8c9ac98f9f5e090de73a7f4132;p=git-scripts.git Fix `while read` --- diff --git a/pull-usrlocalsrc b/pull-usrlocalsrc index f8654c0..41cfaab 100755 --- a/pull-usrlocalsrc +++ b/pull-usrlocalsrc @@ -3,7 +3,6 @@ prog_dir="`dirname \"$0\"`" && cat "$prog_dir"/locate-all.list | grep -F /usr/local/src | -while true; do - read d || exit 0 echo "----- $d -----"; cd "$d" && git pull --all || exit 1 +while read d; do done