shellcheck fixes

* Script: https://github.com/koalaman/shellcheck
* Use $(..) instead of deprecated `..`
* Use double quote to prevent globbing and word splitting.

Change-Id: I68372d4e29ae34e0704e5a605447ad17bf0666d7
This commit is contained in:
Kartik Mistry
2014-04-01 13:19:57 +05:30
committed by KartikMistry
parent 88f9a09740
commit b7e6aaa475
4 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
DEST="../lib/jquery.uls";
CLONEDIR="/tmp/jquery.uls";
HERE=`pwd`;
HERE=$(pwd);
UPSTREAM="https://github.com/wikimedia/jquery.uls.git";
echo -e "Getting latest jquery.uls from $UPSTREAM\n";
@@ -13,5 +13,5 @@ else
git clone $UPSTREAM $CLONEDIR;
fi
cd $HERE;
cd "$HERE";
cp -rf $CLONEDIR/{images,css,src,i18n} $DEST