Fix fatal make.sh error

This commit is contained in:
augustin64 2024-01-16 21:13:04 +01:00
parent 6ad1192cec
commit 9baae929cd

View File

@ -43,9 +43,9 @@ usage () {
} }
if [[ $1 && $(type "$1") = *"is a"*"function"* || $(type "$1") == *"est une fonction"* ]]; then if [[ $1 && $(type "$1") = *"is a"*"function"* || $(type "$1") == *"est une fonction"* ]]; then
# Import config # Import config
source "default_config.py" source "default_config.py"
[[ ! -x" $INSTANCE_PATH/config.py" ]] && source "$INSTANCE_PATH/config.py" [[ ! -x "$INSTANCE_PATH/config.py" ]] && source "$INSTANCE_PATH/config.py"
$1 ${*:2} # Call the function $1 ${*:2} # Call the function
else else
usage usage