From 32993f082a53718cf86afed2f43dff6d73143277 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 3 Aug 2016 15:09:39 +0300 Subject: [PATCH] Change local variable $PROG_DIR => $prog_dir --- ls-not-pushed-carefully | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 | -- 2.39.2