From 0f01a35ec804b5f32655a91b496060b6b521bee4 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Sat, 3 Feb 2018 22:56:05 -0500 Subject: [PATCH] improved hint --- etc/change_hardcoded_world_name_first/mts-ENLIVEN | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/etc/change_hardcoded_world_name_first/mts-ENLIVEN b/etc/change_hardcoded_world_name_first/mts-ENLIVEN index 42b4ba1..3347639 100755 --- a/etc/change_hardcoded_world_name_first/mts-ENLIVEN +++ b/etc/change_hardcoded_world_name_first/mts-ENLIVEN @@ -1,10 +1,15 @@ #!/bin/sh echo "WARNING: mts-ENLIVEN script is deprecated--instead, run:" -try_path="$HOME/GitHub/EnlivenMinetest/mtsenliven.py" +try_path="./GitHub/EnlivenMinetest/mtsenliven.py" if [ -f "$try_path" ]; then echo " python3 $try_path" else - echo " python3 mtsenliven.py" + try_path="$HOME/GitHub/EnlivenMinetest/mtsenliven.py" + if [ -f "$try_path" ]; then + echo " python3 $try_path" + else + echo " python3 mtsenliven.py" + fi fi # sleep 4 # exit 1