Update the setup-targetfs-nfs.sh to replace Rules.make variables
so that they are initialized conditionally.

Signed-off-by: Nikhil Devshatwar <a0132...@ti.com>
---
 setup-targetfs-nfs.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup-targetfs-nfs.sh b/setup-targetfs-nfs.sh
index 60817ca..ac1611c 100644
--- a/setup-targetfs-nfs.sh
+++ b/setup-targetfs-nfs.sh
@@ -145,10 +145,10 @@ echo "EXEC_DIR or DESTDIR variable (depending on your 
SDK)."
 echo
 read -p "Press return to continue" REPLY
 
-sed -i "s=EXEC_DIR\=.*$=EXEC_DIR\=$dst/home/root/$platform=g" 
$cwd/../Rules.make
+sed -i "s=EXEC_DIR ?\=.*$=EXEC_DIR ?\=$dst/home/root/$platform=g" 
$cwd/../Rules.make
 check_status
 
-sed -i "s=DESTDIR\=.*$=DESTDIR\=$dst=g" $cwd/../Rules.make
+sed -i "s=DESTDIR ?\=.*$=DESTDIR ?\=$dst=g" $cwd/../Rules.make
 check_status
 
 echo "Rules.make edited successfully.."
-- 
2.17.1

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to