Quote whitelabel to allow whitespace (#33)
The SHYNET_WHITELABEL variable was being used without quotes, which breaks the commnand if it contains whitespaces
This commit is contained in:
parent
1a5f68e353
commit
cac6d44166
@ -35,7 +35,7 @@ fi
|
||||
if [[ -n $SHYNET_WHITELABEL && ${sanity_results[3]} == True ]]; then
|
||||
echo "Setting whitelabel..."
|
||||
{
|
||||
./manage.py whitelabel $SHYNET_WHITELABEL && echo "Whitelabel set! Whitelabel: $SHYNET_WHITELABEL"
|
||||
./manage.py whitelabel "$SHYNET_WHITELABEL" && echo "Whitelabel set! Whitelabel: $SHYNET_WHITELABEL"
|
||||
} || {
|
||||
echo "Failed to set whitelabel, exiting" & exit 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user