Fix build_rootfs.sh message (#909)
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 26 Apr 2018 04:49:26 +0000 (13:49 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 26 Apr 2018 04:49:26 +0000 (13:49 +0900)
This will fix build_rootfs.sh script that shows `[: missing `]'` warning

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
tools/cross/build_rootfs.sh

index 868ea2a..f52ca63 100755 (executable)
@@ -97,7 +97,7 @@ if [ -d "$__RootfsDir" ]; then
     rm -rf $__RootfsDir
 fi
 
-if [ $__SkipProxy == 0 && "$__Tizen" != "tizen" ]; then
+if [ $__SkipProxy == 0 ] && [ "$__Tizen" != "tizen" ]; then
     mkdir -p $__RootfsDir/etc/apt/apt.conf.d
     cp $__CrossDir/apt_proxy $__RootfsDir/etc/apt/apt.conf.d/90proxy
 fi