Fix if statement to ignore Ubuntu codename if BuildArch is arm-softfp
authorHyeongseok Oh <hseok82.oh@smasung.com>
Wed, 20 Jul 2016 09:35:08 +0000 (18:35 +0900)
committerHyeongseok Oh <hseok82.oh@smasung.com>
Wed, 20 Jul 2016 09:35:08 +0000 (18:35 +0900)
Commit migrated from https://github.com/dotnet/coreclr/commit/6dca838bcba5a748792f37d2083fcf9b79a1cb1d

src/coreclr/cross/build-rootfs.sh

index dc093b8..b786420 100755 (executable)
@@ -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
         ;;