* This avoids warnings like: line 8: cd: /tmp/jquery.ime: No such file or directory. * Formatting fixes. Change-Id: Icbc3f6f80314cae3ea9b5dfdc3e66c59af225621
18 lines
319 B
Bash
Executable File
18 lines
319 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DEST="../lib/";
|
|
CLONEDIR="/tmp/jquery.webfonts";
|
|
HERE=`pwd`;
|
|
UPSTREAM="https://github.com/wikimedia/jquery.webfonts.git";
|
|
|
|
echo -e "Getting latest jquery.webfonts from $UPSTREAM\n";
|
|
|
|
if [ -d $CLONEDIR ]; then
|
|
git pull;
|
|
else
|
|
git clone $UPSTREAM $CLONEDIR;
|
|
fi
|
|
|
|
cd $HERE;
|
|
cp -rf $CLONEDIR/src/* $DEST
|