Commit b49e70b1 authored by okhin's avatar okhin 🚴

Let's not escape quotes in the script

parent 1aeac83e
Pipeline #2477 passed with stage
in 2 seconds
......@@ -26,7 +26,7 @@ source $1
$WPCLI core is-installed || echo "Sorry, wordpress isn't installed in $WP_PATH." || return 1
# Créons un site
$WPCLI site create --slug=${THEME} --title=\"${TITLE}\" --description=\"${DESCRIPTION}\" ${PREPROD:+"--private=true"} --porcelain || echo "Oops, something bas happened." || return 1
$WPCLI site create --slug=${THEME} --title="${TITLE}" --description="${DESCRIPTION}" ${PREPROD:+"--private=true"} --porcelain || echo "Oops, something bas happened." || return 1
# Créons un thème. On crée un .zip à partir de ce qu'il y a dans le répertoire parent
# en n'excluant certains fichiers (le répertoire scripts notamment, et les fichiers commençant par .git)
......
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