diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-04 14:02:28 +0200 |
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-04 14:02:28 +0200 |
| commit | dc03fb40fe55a7dc88c07509b47299223d4d5815 (patch) | |
| tree | 93d33df604005218d287d535b37dfc4ab9de307d /bin/extra/cht.sh | |
| parent | 1496b8724c39dd6d16a46916ad4ed47a83a44852 (diff) | |
cleaned up scripts, use sh (-> dash) where possible
Diffstat (limited to 'bin/extra/cht.sh')
| -rwxr-xr-x | bin/extra/cht.sh | 8 |
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%% *} |
