diff options
Diffstat (limited to 'node_modules/twig/test-ext/checkout.sh')
-rwxr-xr-x | node_modules/twig/test-ext/checkout.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/twig/test-ext/checkout.sh b/node_modules/twig/test-ext/checkout.sh new file mode 100755 index 0000000..514b286 --- /dev/null +++ b/node_modules/twig/test-ext/checkout.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +if [ ! -d $DIR/twig.php ]; then + git clone git://github.com/fabpot/Twig.git $DIR/twig.php +else + cd $DIR/twig.php + git pull +fi |