From 594a7c90ee02f6b2b756f4fd920e43b8cf13f64d Mon Sep 17 00:00:00 2001 From: Pierre Hyvernat Date: Tue, 22 Jun 2021 16:51:34 +0200 Subject: [PATCH] only run test_bin.sh in start.sh, not in profile.sh --- lib/profile.sh | 7 ------- start.sh | 9 +++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/profile.sh b/lib/profile.sh index 1d8c0f78..d4e5019a 100644 --- a/lib/profile.sh +++ b/lib/profile.sh @@ -28,10 +28,3 @@ export COLUMNS # PATH=$PATH:"$GSH_ROOT/bin" PATH="$GSH_ROOT/bin":$PATH -### test some of the scripts -if ! sh "$GSH_ROOT/lib/bin_test.sh" -then - echo "$(gettext "Error: a least one base function is not working properly. -Aborting!")" - exit 1 -fi diff --git a/start.sh b/start.sh index d035e95e..29ff030f 100755 --- a/start.sh +++ b/start.sh @@ -412,6 +412,15 @@ Aborting.")" >&2 ####################################################################### init_gsh "$@" + +### test some of the scripts +if ! sh "$GSH_ROOT/lib/bin_test.sh" +then + echo "$(gettext "Error: a least one base function is not working properly. +Aborting!")" + exit 1 +fi + cd "$GSH_HOME" export GSH_UID=$(cat "$GSH_CONFIG/uid") date "+%Y-%m-%d %H:%M:%S" | sed 's/^/#>>> /' >> "$GSH_CONFIG/missions.log"