(travis) Remove execution bits from the travis scripts
[dbsrgits/DBIx-Class.git] / maint / travis-ci_scripts / 10_before_install.bash
old mode 100755 (executable)
new mode 100644 (file)
index 547fa8b..3d5bbae
@@ -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
+
 export SHORT_CIRCUIT_SMOKE
 
 if have_sudo ; then