Skip to content

Commit 594a7c9

Browse files
committed
only run test_bin.sh in start.sh, not in profile.sh
1 parent f6de67d commit 594a7c9

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

lib/profile.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,3 @@ export COLUMNS
2828
# PATH=$PATH:"$GSH_ROOT/bin"
2929
PATH="$GSH_ROOT/bin":$PATH
3030

31-
### test some of the scripts
32-
if ! sh "$GSH_ROOT/lib/bin_test.sh"
33-
then
34-
echo "$(gettext "Error: a least one base function is not working properly.
35-
Aborting!")"
36-
exit 1
37-
fi

start.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,15 @@ Aborting.")" >&2
412412
#######################################################################
413413

414414
init_gsh "$@"
415+
416+
### test some of the scripts
417+
if ! sh "$GSH_ROOT/lib/bin_test.sh"
418+
then
419+
echo "$(gettext "Error: a least one base function is not working properly.
420+
Aborting!")"
421+
exit 1
422+
fi
423+
415424
cd "$GSH_HOME"
416425
export GSH_UID=$(cat "$GSH_CONFIG/uid")
417426
date "+%Y-%m-%d %H:%M:%S" | sed 's/^/#>>> /' >> "$GSH_CONFIG/missions.log"

0 commit comments

Comments
 (0)