mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-10-30 00:23:45 -05:00
Syntax error: elif
obviously needs a ; then
This commit is contained in:
parent
377c4e7cc5
commit
84fc71722c
@ -191,9 +191,9 @@ generate_bootdisk () {
|
|||||||
|
|
||||||
if [[ "${MASTER_PLIST}" ]]; then
|
if [[ "${MASTER_PLIST}" ]]; then
|
||||||
[[ -e "${MASTER_PLIST}" ]] || echo "Could not find: ${MASTER_PLIST}"
|
[[ -e "${MASTER_PLIST}" ]] || echo "Could not find: ${MASTER_PLIST}"
|
||||||
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]];
|
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
||||||
elif [[ "${MASTER_PLIST_URL}" ]];
|
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
wget -o "./${MASTER_PLIST:=/config-custom.plist}" "${MASTER_PLIST_URL}" \
|
wget -o "./${MASTER_PLIST:=/config-custom.plist}" "${MASTER_PLIST_URL}" \
|
||||||
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
||||||
else
|
else
|
||||||
|
@ -247,9 +247,9 @@ generate_serial_sets () {
|
|||||||
|
|
||||||
if [[ "${MASTER_PLIST}" ]]; then
|
if [[ "${MASTER_PLIST}" ]]; then
|
||||||
[[ -e "${MASTER_PLIST}" ]] || echo "Could not find: ${MASTER_PLIST}"
|
[[ -e "${MASTER_PLIST}" ]] || echo "Could not find: ${MASTER_PLIST}"
|
||||||
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]];
|
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
||||||
elif [[ "${MASTER_PLIST_URL}" ]];
|
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
wget -o "./${MASTER_PLIST:=/config-custom.plist}" "${MASTER_PLIST_URL}" \
|
wget -o "./${MASTER_PLIST:=/config-custom.plist}" "${MASTER_PLIST_URL}" \
|
||||||
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user