(travis) Remove execution bits from the travis scripts
[dbsrgits/DBIx-Class.git] / maint / travis-ci_scripts / 20_install.bash
old mode 100755 (executable)
new mode 100644 (file)
index ed7bc00..8da037f
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+if [[ "${BASH_SOURCE[0]}" == "${0}" ]] ; then
+  echo "This script can not be executed standalone - it can only be source()d" 1>&2
+  exit 1
+fi
+
 if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
 
 # we need a mirror that both has the standard index and a backpan version rolled