B #137: FreeBSD's lack of echo -e option

pull/198/head
Vlastimil Holer 5 years ago
parent 3420656fcd
commit 53ee309422
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -8,10 +8,10 @@ START_SCRIPT_AVAILABLE=no
chmod 700 "${TMP_DIR}" chmod 700 "${TMP_DIR}"
if [ -n "$START_SCRIPT_BASE64" ]; then if [ -n "$START_SCRIPT_BASE64" ]; then
echo -en "$START_SCRIPT_BASE64" | base64 -d > $TMP_FILE echo "${START_SCRIPT_BASE64}" | base64 -d > $TMP_FILE
START_SCRIPT_AVAILABLE=yes START_SCRIPT_AVAILABLE=yes
elif [ -n "$START_SCRIPT" ]; then elif [ -n "$START_SCRIPT" ]; then
echo -en "$START_SCRIPT" > $TMP_FILE echo "${START_SCRIPT}" > $TMP_FILE
START_SCRIPT_AVAILABLE=yes START_SCRIPT_AVAILABLE=yes
fi fi

Loading…
Cancel
Save