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:
committed by
KartikMistry
parent
88f9a09740
commit
b7e6aaa475
@@ -2,7 +2,7 @@
|
||||
|
||||
DEST="../lib/jquery.i18n";
|
||||
CLONEDIR="/tmp/jquery.i18n";
|
||||
HERE=`pwd`;
|
||||
HERE=$(pwd);
|
||||
UPSTREAM="https://github.com/wikimedia/jquery.i18n.git";
|
||||
|
||||
echo -e "Getting latest jquery.i18n from $UPSTREAM\n";
|
||||
@@ -13,5 +13,5 @@ else
|
||||
git clone $UPSTREAM $CLONEDIR;
|
||||
fi
|
||||
|
||||
cd $HERE;
|
||||
cd "$HERE";
|
||||
cp -rf $CLONEDIR/src/* $DEST
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
DEST="../lib/";
|
||||
CLONEDIR="/tmp/jquery.webfonts";
|
||||
HERE=`pwd`;
|
||||
HERE=$(pwd);
|
||||
UPSTREAM="https://github.com/wikimedia/jquery.webfonts.git";
|
||||
|
||||
echo -e "Getting latest jquery.webfonts from $UPSTREAM\n";
|
||||
@@ -13,5 +13,5 @@ else
|
||||
git clone $UPSTREAM $CLONEDIR;
|
||||
fi
|
||||
|
||||
cd $HERE;
|
||||
cd "$HERE";
|
||||
cp -rf $CLONEDIR/src/* $DEST
|
||||
|
||||
Reference in New Issue
Block a user