summaryrefslogtreecommitdiff
path: root/bin/extra/cht.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-05 14:30:21 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-05 14:30:21 +0200
commite4c833e535dcda3dd3145e06f2d7f187e2197efb (patch)
tree10be7ce47fd56cf3f8e694efe266c5c6e67f4b0c /bin/extra/cht.sh
parenta86e7cfce4bc2167383a071856f5deba77f30a5b (diff)
parentc41328bec94c2d3fe58b6cc0db7336702b054cb7 (diff)
Merge remote-tracking branch 'refs/remotes/origin/main'
Diffstat (limited to 'bin/extra/cht.sh')
-rwxr-xr-xbin/extra/cht.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/extra/cht.sh b/bin/extra/cht.sh
index 7cd4892..681fc69 100755
--- a/bin/extra/cht.sh
+++ b/bin/extra/cht.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# shellcheck disable=SC1117,SC2001
#
# [X] open section
@@ -234,13 +234,13 @@ EOF
if CHEATSH_TEST_STANDALONE=YES \
CHEATSH_TEST_SKIP_ONLINE=NO \
CHEATSH_TEST_SHOW_DETAILS=NO \
- PYTHON=../ve/bin/python bash run-tests.sh | tee -a "$LOG"
+ PYTHON=../ve/bin/python sh run-tests.sh | tee -a "$LOG"
then
printf "\033[0;32m%s\033[0m\n" "SUCCESS"
else
printf "\033[0;31m%s\033[0m\n" "FAILED"
echo "Some tests were failed. Run the tests manually for further investigation:"
- echo " cd $PWD; bash run-tests.sh)"
+ echo " cd $PWD; sh run-tests.sh)"
fi
)
@@ -773,7 +773,7 @@ while true; do
fi
input=$(
- rlwrap -H "$CHTSH_HOME/history" -pgreen -C cht.sh -S "$full_prompt" bash "$0" --read | sed 's/ *#.*//'
+ rlwrap -H "$CHTSH_HOME/history" -pgreen -C cht.sh -S "$full_prompt" sh "$0" --read | sed 's/ *#.*//'
)
cmd_name=${input%% *}