diff options
author | jinwang.an <jinwang.an@samsung.com> | 2019-04-19 19:01:49 +0900 |
---|---|---|
committer | jinwang.an <jinwang.an@samsung.com> | 2019-04-19 19:02:16 +0900 |
commit | 9f8523a1ff63933cda223235fc6fbb43afb2efe1 (patch) | |
tree | 7a32c3054b0dfcc3cc95f97e4b23a4844675cc26 | |
parent | ad6e4f3d07f3221ad844b2f9ad4222a3e247a732 (diff) | |
download | factory-reset-submit/tizen/20190421.231737.tar.gz factory-reset-submit/tizen/20190421.231737.tar.bz2 factory-reset-submit/tizen/20190421.231737.zip |
Add PATH env to script for securitysubmit/tizen/20190421.231737accepted/tizen/unified/20190422.005539
Change-Id: I057dc4749fdf1e064eb4ea70713dec1be1c776b9
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
-rwxr-xr-x | script/build-backup-data.sh | 2 | ||||
-rw-r--r-- | script/dump-frlog.sh | 1 | ||||
-rwxr-xr-x | script/factoryreset-verify-result.sh | 2 | ||||
-rw-r--r-- | script/factoryreset-verify.sh | 1 | ||||
-rwxr-xr-x | script/run-factory-reset.sh | 1 |
5 files changed, 5 insertions, 2 deletions
diff --git a/script/build-backup-data.sh b/script/build-backup-data.sh index da67765..2d48f90 100755 --- a/script/build-backup-data.sh +++ b/script/build-backup-data.sh @@ -19,10 +19,10 @@ # +PATH="/usr/bin:/bin:/usr/sbin:/sbin" ## build backup data for factory reset - [ $INSTALL_ROOT ] || INSTALL_ROOT="/" rdir=$INSTALL_ROOT/usr/system/RestoreDir optdir=$INSTALL_ROOT/opt diff --git a/script/dump-frlog.sh b/script/dump-frlog.sh index b3e495d..6fd5a8b 100644 --- a/script/dump-frlog.sh +++ b/script/dump-frlog.sh @@ -1,4 +1,5 @@ #!/bin/sh +PATH="/usr/bin:/bin:/usr/sbin:/sbin" #-------------------------------------- # Factory-reset diff --git a/script/factoryreset-verify-result.sh b/script/factoryreset-verify-result.sh index d482158..551bfba 100755 --- a/script/factoryreset-verify-result.sh +++ b/script/factoryreset-verify-result.sh @@ -19,7 +19,7 @@ # - +PATH="/usr/bin:/bin:/usr/sbin:/sbin" logfile="/opt/var/log/.verify.log" frlog="/opt/.factoryreset.log" diff --git a/script/factoryreset-verify.sh b/script/factoryreset-verify.sh index 3302a21..5cdcc00 100644 --- a/script/factoryreset-verify.sh +++ b/script/factoryreset-verify.sh @@ -17,6 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +PATH="/usr/bin:/bin:/usr/sbin:/sbin" logfile="/tmp/.verify_fail.log" logchecksum="/tmp/verify_checksum.log" diff --git a/script/run-factory-reset.sh b/script/run-factory-reset.sh index 535f499..f08c46f 100755 --- a/script/run-factory-reset.sh +++ b/script/run-factory-reset.sh @@ -17,6 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +PATH="/usr/bin:/bin:/usr/sbin:/sbin" logfile="/opt/.factoryreset.log" logfile1="/opt/.factoryreset.log.1" |