diff options
author | wchang kim <wchang.kim@samsung.com> | 2016-07-06 11:04:49 +0900 |
---|---|---|
committer | wchang kim <wchang.kim@samsung.com> | 2016-07-06 11:04:49 +0900 |
commit | a5b2b9e0826f78c9aadc5572169e81cb7e683ccd (patch) | |
tree | 6814c227dfa012ca7021876c4f35a67ea98bde4d | |
parent | 5c851825b27703797bda2dfa292f568c0612a4e0 (diff) | |
download | system-plugin-a5b2b9e0826f78c9aadc5572169e81cb7e683ccd.tar.gz system-plugin-a5b2b9e0826f78c9aadc5572169e81cb7e683ccd.tar.bz2 system-plugin-a5b2b9e0826f78c9aadc5572169e81cb7e683ccd.zip |
Description : Set PATH in the script for securitysubmit/tizen/20160706.021739accepted/tizen/wearable/20160706.082421accepted/tizen/tv/20160706.082414accepted/tizen/mobile/20160706.082431accepted/tizen/ivi/20160706.082531
Set PATH in the script for security
Change-Id: I22181ef5a11f467a8476bd8d57ef3928fb06be27
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
-rw-r--r-- | scripts/tizen-fstrim-on-charge.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/tizen-fstrim-on-charge.sh b/scripts/tizen-fstrim-on-charge.sh index c08cd74..5d47fb4 100644 --- a/scripts/tizen-fstrim-on-charge.sh +++ b/scripts/tizen-fstrim-on-charge.sh @@ -1,5 +1,7 @@ #!/bin/sh +PATH=/bin:/usr/bin:/sbin:/usr/sbin + if [ "$#" -ne 1 ];then echo "Argument was missed." exit 1 |