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
2
make.sh
2
make.sh
@ -45,7 +45,7 @@ usage () {
|
||||
if [[ $1 && $(type "$1") = *"is a"*"function"* || $(type "$1") == *"est une fonction"* ]]; then
|
||||
# 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