Description : Set PATH in the script for security 18/78518/1 accepted/tizen/ivi/20160706.082531 accepted/tizen/mobile/20160706.082431 accepted/tizen/tv/20160706.082414 accepted/tizen/wearable/20160706.082421 submit/tizen/20160706.021739
authorwchang kim <wchang.kim@samsung.com>
Wed, 6 Jul 2016 02:04:49 +0000 (11:04 +0900)
committerwchang kim <wchang.kim@samsung.com>
Wed, 6 Jul 2016 02:04:49 +0000 (11:04 +0900)
Set PATH in the script for security

Change-Id: I22181ef5a11f467a8476bd8d57ef3928fb06be27
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
scripts/tizen-fstrim-on-charge.sh

index c08cd7482ce50704bde89729a0fd406c4690b0d6..5d47fb48f2f6756142990a8084a8d273593eb952 100644 (file)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
 if [ "$#" -ne 1 ];then
        echo "Argument was missed."
        exit 1