Commit cee91a7a authored by okhin's avatar okhin 🚴

Inverting a boolean test

parent 01318351
Pipeline #2480 passed with stage
in 3 seconds
......@@ -20,7 +20,7 @@ WPCLI="php ${WPCLI_PATH} --path=${WP_PATH}"
source $1
# Si on est en PREPROD, utilisons une URL plus simple.
[[ -z ${PREPROD+x} ]] && URL="https://${THEME}.grange.dev.lqdn.fr"
[[ ! -z ${PREPROD+x} ]] && URL="https://${THEME}.grange.dev.lqdn.fr"
# Au cas où, on vérifie que wordpress est bien installé.
$WPCLI core is-installed || echo "Sorry, wordpress isn't installed in $WP_PATH." || return 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment