From 77bef1e2535afe8c9ac98f9f5e090de73a7f4132 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 7 Oct 2016 16:08:18 +0300 Subject: [PATCH] Fix `while read` --- pull-usrlocalsrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5