From: Oleg Broytman Date: Wed, 3 Aug 2016 12:09:39 +0000 (+0300) Subject: Change local variable $PROG_DIR => $prog_dir X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=commitdiff_plain;h=32993f082a53718cf86afed2f43dff6d73143277 Change local variable $PROG_DIR => $prog_dir --- diff --git a/ls-not-pushed-carefully b/ls-not-pushed-carefully index 2bd0159..f5d5928 100755 --- a/ls-not-pushed-carefully +++ b/ls-not-pushed-carefully @@ -1,10 +1,10 @@ #! /bin/sh -cd "`dirname \"$0\"`" && PROG_DIR="`pwd`" && +cd "`dirname \"$0\"`" && prog_dir="`pwd`" && cd "$HOME"/tmp && rm -rf ls-not-pushed-carefully.tmp && LSTMP="$HOME"/tmp/ls-not-pushed-carefully.tmp \ -"$PROG_DIR"/do-all \ +"$prog_dir"/do-all \ 'test "$g" = "$d/.git" || continue;' \ 'rsync -aW --del --protocol=28 "$d" "$LSTMP" && cd "$LSTMP/$b" &&' \ 'test -n "`git status --branch --untracked-files=no |