1
1
Fork 0
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:
Natapat Samutpong 2022-01-26 21:49:24 +07:00
parent 699710fb5b
commit 689714567e

View file

@ -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
}