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.ime";
CLONEDIR="/tmp/jquery.ime";
HERE=`pwd`;
HERE=$(pwd);
UPSTREAM="https://github.com/wikimedia/jquery.ime.git";
echo -e "Getting latest jquery.ime from $UPSTREAM\n";
@@ -16,5 +16,5 @@ fi
cd $CLONEDIR;
npm install;
grunt copy concat;
cd $HERE;
cd "$HERE";
cp -rf $CLONEDIR/dist/jquery.ime/{images,css,rules,jquery.ime.js} $DEST;