summaryrefslogtreecommitdiff
path: root/node_modules/twig/test-ext/checkout.sh
blob: 514b286eded783762123e4094090190ee9376f9f (plain) (blame)
1
2
3
4
5
6
7
8
9
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