Fix typo: BUILT_TYPE -> BUILD_TYPE (#37)

Add an optional extended description…
This commit is contained in:
Philipp Schmitt 2017-09-28 10:30:44 +02:00 committed by Pascal Vizeli
parent b96ec0192f
commit 86abce4897

View file

@ -425,17 +425,17 @@ if [ "${#BUILD_LIST[@]}" -eq 0 ] && [ "$BUILT_TYPE" != "homeassistant-machine" ]
fi
# Check other args
if [ "$BUILT_TYPE" != "addon" ] && [ -z "$DOCKER_HUB" ]; then
if [ "$BUILD_TYPE" != "addon" ] && [ -z "$DOCKER_HUB" ]; then
echo "[ERROR] Please set a docker hub!"
exit 1
fi
if [ "$BUILT_TYPE" == "homeassistant" ] && [ -z "$VERSION" ]; then
if [ "$BUILD_TYPE" == "homeassistant" ] && [ -z "$VERSION" ]; then
echo "[ERROR] Please set a version for home-assistant!"
exit 1
fi
if [ "$BUILT_TYPE" == "homeassistant-machine" ] && [ -z "$VERSION" ]; then
if [ "$BUILD_TYPE" == "homeassistant-machine" ] && [ -z "$VERSION" ]; then
echo "[ERROR] Please set a version for home-assistant!"
exit 1
fi