(travis) Remove execution bits from the travis scripts
[dbsrgits/DBIx-Class.git] / maint / travis-ci_scripts / common.bash
old mode 100755 (executable)
new mode 100644 (file)
index d2b77d8..48fb7c1
@@ -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
+
 # "autodie"
 set -e