Define PATH environment variable in scripts. 90/76990/1
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Tue, 28 Jun 2016 07:55:58 +0000 (16:55 +0900)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Tue, 28 Jun 2016 07:56:03 +0000 (16:56 +0900)
Change-Id: I0b144b5dac51f84ff2256dfa0abcb8e5872af603

db/240.security-manager.db-update.sh
db/update.sh
migration/security-manager-migration.in
policy/security-manager-policy-reload

index f3d8786..70968e4 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh -e
 
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
 exec /usr/share/security-manager/db/update.sh
index 4d0f460..7caa474 100755 (executable)
@@ -7,6 +7,7 @@
 source /etc/tizen-platform.conf
 
 # Some useful constants
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 db="$TZ_SYS_DB/.security-manager.db"
 db_journal="$db-journal"
 sm_dir="/usr/share/security-manager/db"
index 204fb13..b435a36 100644 (file)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 SRC_PATH=/etc/smack/accesses.d
 DSC_PATH=@LOCAL_STATE_DIR@/security-manager/rules
 MRG_PATH=@LOCAL_STATE_DIR@/security-manager/rules-merged/rules.merged
index 3f33406..d9753d9 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh -e
 
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 POLICY_PATH=/usr/share/security-manager/policy
 PRIVILEGE_GROUP_MAPPING=$POLICY_PATH/privilege-group.list