From 4a4e791bfa67000c895ddc60f27ae1c8bbd2b8ac Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Fri, 19 Feb 2021 21:42:54 +0100 Subject: [PATCH] Rename internal.sh to common.sh --- scripts/{internal.sh => common.sh} | 2 +- scripts/console.sh | 2 +- scripts/restart.sh | 2 +- scripts/start.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename scripts/{internal.sh => common.sh} (96%) diff --git a/scripts/internal.sh b/scripts/common.sh similarity index 96% rename from scripts/internal.sh rename to scripts/common.sh index 6792af1..0b4887a 100644 --- a/scripts/internal.sh +++ b/scripts/common.sh @@ -1,4 +1,4 @@ -# internal functions used by Elidragon v2 scripts +# common functions used by Elidragon v2 scripts function world_lock { echo "/tmp/ElidragonV2_$1_lock" diff --git a/scripts/console.sh b/scripts/console.sh index 6751c0c..77d876d 100755 --- a/scripts/console.sh +++ b/scripts/console.sh @@ -3,7 +3,7 @@ # Attach to the console of a world # Arguments: -source scripts/internal.sh +source scripts/common.sh assert_running $1 screen -r `world_screenname $1` diff --git a/scripts/restart.sh b/scripts/restart.sh index a39e454..f1e0f3a 100755 --- a/scripts/restart.sh +++ b/scripts/restart.sh @@ -3,6 +3,6 @@ # Restart one or all worlds # Arguments: [] -source scripts/internal.sh +source source scripts/common.sh run_one_or_all restart_world $1 diff --git a/scripts/start.sh b/scripts/start.sh index 96cc2fe..254b3a7 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -3,6 +3,6 @@ # Start one or all worlds # Arguments: [] -source scripts/internal.sh +source source scripts/common.sh run_one_or_all start_world $1 -- 2.44.0