Skip to content

Commit

Permalink
only run test_bin.sh in start.sh, not in profile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
phyver committed Jun 22, 2021
1 parent f6de67d commit 594a7c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 594a7c9

Please sign in to comment.