summaryrefslogtreecommitdiff
path: root/git.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-23 16:18:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-23 16:18:51 +0300
commitc1047c1ea1a6c8008159836182eb65a52f7a1fd3 (patch)
treeb3572c681591111f1ad6fec85cf9256d115acffc /git.sh
parentd91e921c0bc72b23d17a3581a420295ffc856b4c (diff)
downloadall-c1047c1ea1a6c8008159836182eb65a52f7a1fd3.tar.gz
all-c1047c1ea1a6c8008159836182eb65a52f7a1fd3.tar.bz2
all-c1047c1ea1a6c8008159836182eb65a52f7a1fd3.tar.xz
all-c1047c1ea1a6c8008159836182eb65a52f7a1fd3.zip
Fix style in shell scripts.
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="$*"