mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 09:16:25 +01:00
Fix fatal make.sh error
This commit is contained in:
parent
6ad1192cec
commit
9baae929cd
4
make.sh
4
make.sh
@ -43,9 +43,9 @@ usage () {
|
||||
}
|
||||
|
||||
if [[ $1 && $(type "$1") = *"is a"*"function"* || $(type "$1") == *"est une fonction"* ]]; then
|
||||
# Import config
|
||||
# Import config
|
||||
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
|
||||
else
|
||||
usage
|
||||
|
Loading…
Reference in New Issue
Block a user