Define PATH environment variable 79/203979/2
authorKichan Kwon <k_c.kwon@samsung.com>
Thu, 18 Apr 2019 08:51:10 +0000 (17:51 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Thu, 18 Apr 2019 08:57:10 +0000 (17:57 +0900)
Change-Id: I0fb2b1258b1a209b115af55be1b0091b35d72a00
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
upgrade/install-sdb-rule.sh.in
upgrade/record-version.sh.in

index 4adfaae..6b0e067 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+PATH="/usr/bin:/bin:/usr/sbin:/sbin"
+
 SDB_RULE="99-sdb-switch.rules"
 DEST=@TZ_SYS_UPGRADE_DATA@
 
index 4ce57d2..a7830dc 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+PATH="/usr/bin:/bin:/usr/sbin:/sbin"
+
 RW_MACRO=@TZ_SYS_UPGRADE@/rw-update-macro.inc
 
 if [ -e ${RW_MACRO} ]; then