mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
fix: i love bash syntax
This commit is contained in:
parent
699710fb5b
commit
689714567e
|
@ -5,7 +5,7 @@ path=$(pwd)
|
|||
tput smcup # Switch to alternate screen so we preserve the terminal history
|
||||
tput civis
|
||||
|
||||
trap clean_up INT
|
||||
trap clean_up_fail INT
|
||||
|
||||
clean_up() {
|
||||
tput rmcup
|
||||
|
@ -86,8 +86,8 @@ run_menu() {
|
|||
# --- Installation ---
|
||||
|
||||
check_installed() {
|
||||
if ! [ -x "$(command -v $1)" ] then
|
||||
clean_up_fail "Please check that you have $1 installed!"
|
||||
if ! [ -x "$(command -v $1)" ]
|
||||
then clean_up_fail "Please check that you have $1 installed!"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue