Only fetch the assert script if it's not present

This commit is contained in:
Michael Bridgen committed 2015-02-11 14:36:00 -08:00
1 parent 9f9949b80c
commit a6f1435444
1 file changed
+4 -2
+4 -2
View File
@@ -2,8 +2,10 @@
set -e
echo Fetching assert script
curl -sS https://raw.githubusercontent.com/lehmannro/assert.sh/master/assert.sh > ./assert.sh
if ! [ -f "./assert.sh" ]; then
echo Fetching assert script
curl -sS https://raw.githubusercontent.com/lehmannro/assert.sh/master/assert.sh > ./assert.sh
fi
. ./config.sh