summaryrefslogtreecommitdiff
path: root/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git.sh')
-rwxr-xr-xgit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/git.sh b/git.sh
index f2345da..50a88ad 100755
--- a/git.sh
+++ b/git.sh
@@ -4,11 +4,11 @@ function status {
if [ ! -d "$1" ]; then
return
fi
- DIR=`pwd`
+ DIR=$(pwd)
cd "$1"
echo "$2:"
- git $CMD
- cd $DIR
+ git "$CMD"
+ cd "$DIR"
}
CMD="$*"