Commit 3191fee6 authored by Bruno Martins's avatar Bruno Martins
Browse files

envsetup: Fix long time broken path to sh

Change-Id: Ia76d14e10571dd6f3ac9f4adf288effae851ffe3
parent 5ad978c1
......@@ -837,7 +837,7 @@ function dopush()
CHKPERM="/data/local/tmp/chkfileperm.sh"
(
cat <<'EOF'
#!/system/xbin/sh
#!/system/bin/sh
FILE=$@
if [ -e $FILE ]; then
ls -l $FILE | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf("%0o ",k);print}' | cut -d ' ' -f1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment