]> git.phdru.name Git - git-scripts.git/commitdiff
Change local variable $PROG_DIR => $prog_dir
authorOleg Broytman <phd@phdru.name>
Wed, 3 Aug 2016 12:09:39 +0000 (15:09 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 3 Aug 2016 12:09:39 +0000 (15:09 +0300)
ls-not-pushed-carefully

index 2bd0159f00db52d4701ffe67dc2d8f1c288f3d5f..f5d59284fe87ed6520006140d5588f7b5642b904 100755 (executable)
@@ -1,10 +1,10 @@
 #! /bin/sh
 
 #! /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 \
 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 |
    'test "$g" = "$d/.git" || continue;' \
    'rsync -aW --del --protocol=28 "$d" "$LSTMP" && cd "$LSTMP/$b" &&' \
    'test -n "`git status --branch --untracked-files=no |