diff --git a/scripts/setup-emlinux b/scripts/setup-emlinux index 89d29ed6..b9dd53a2 100755 --- a/scripts/setup-emlinux +++ b/scripts/setup-emlinux @@ -1,5 +1,10 @@ #!/bin/bash +if [[ $BASH_SOURCE == "$0" ]]; then + echo "Please run this script using the source command." + exit +fi + clean_up() { unset EML_BUILDDIR EML_BUILDDIR_SETUP_DONE REPOS EML_HOOKS