Skip to contentSkip to conversation

config-build-env: Fix missing space

PATCH New Nishanth Menon 1 participant 1 message Jul 21, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config-build-env: Fix missing space

Fix the missing space in the "if" statement else giturl is never updated.

This generates:
./lib/oesdk/config-build-env: line 53: [: missing `]'

---
 lib/oesdk/config-build-env | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/oesdk/config-build-env +1 -1
index 2514acbe6b38..7f914bab9984 100644
@@ -50,7 +50,7 @@ checkout_layer_scripts() {
 	# In case we have changed the location of our build scripts
 	# we should change our git url towards it.
         mygit='git remote get-url  origin'
-        if [ "$mygit" != "$TI_SDK_OELAYER_SETUP"]; then
+        if [ "$mygit" != "$TI_SDK_OELAYER_SETUP" ]; then
             echo "$TI_SDK_OELAYER_SETUP Mismatch in git URL: $mygit vs $TI_SDK_OELAYER_SETUP. Force resetting the origin!"
             git remote set-url origin $TI_SDK_OELAYER_SETUP
         fi
Signature · 1 line
2.32.0