summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcross/build-rootfs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cross/build-rootfs.sh b/cross/build-rootfs.sh
index dc093b8675..b786420405 100755
--- a/cross/build-rootfs.sh
+++ b/cross/build-rootfs.sh
@@ -52,12 +52,12 @@ for i in "$@"
__UbuntuCodeName=jessie
;;
vivid)
- if [ __UbuntuCodeName != "jessie" ]; then
+ if [ "$__UbuntuCodeName" != "jessie" ]; then
__UbuntuCodeName=vivid
fi
;;
wily)
- if [ __UbuntuCodeName != "jessie" ]; then
+ if [ "$__UbuntuCodeName" != "jessie" ]; then
__UbuntuCodeName=wily
fi
;;