From 2e76fb76680f5b80b9f6a94e857756d98f2cfa6e Mon Sep 17 00:00:00 2001 From: Takahiro Terada Date: Thu, 8 Jan 2026 18:11:44 +0900 Subject: [PATCH] setup-emlinux: Do not run the script directly --- scripts/setup-emlinux | 5 +++++ 1 file changed, 5 insertions(+) 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