summaryrefslogtreecommitdiffstats
path: root/slx-tools.template
diff options
context:
space:
mode:
Diffstat (limited to 'slx-tools.template')
-rw-r--r--slx-tools.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/slx-tools.template b/slx-tools.template
index 7adf6c0..35dbb4d 100644
--- a/slx-tools.template
+++ b/slx-tools.template
@@ -3,6 +3,9 @@
# Collection of small ash functions utilized in various scripts.
################################################################################
+[ -n "$slx_tools_SOURCED" ] && return 0
+slx_tools_SOURCED=1
+
case "$PATH" in
*opt/openslx*) ;;
*) export PATH="$PATH:/opt/openslx/bin:/opt/openslx/sbin" ;;