Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6dca838

Browse files
author
Hyeongseok Oh
committed
Fix if statement to ignore Ubuntu codename if BuildArch is arm-softfp
1 parent 361edab commit 6dca838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cross/build-rootfs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ for i in "$@"
5252
__UbuntuCodeName=jessie
5353
;;
5454
vivid)
55-
if [ __UbuntuCodeName != "jessie" ]; then
55+
if [ "$__UbuntuCodeName" != "jessie" ]; then
5656
__UbuntuCodeName=vivid
5757
fi
5858
;;
5959
wily)
60-
if [ __UbuntuCodeName != "jessie" ]; then
60+
if [ "$__UbuntuCodeName" != "jessie" ]; then
6161
__UbuntuCodeName=wily
6262
fi
6363
;;

0 commit comments

Comments
 (0)