Skip to content

Commit

Permalink
Set exec perms in proper place
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Nijmeh <[email protected]>
  • Loading branch information
tytydraco committed Dec 10, 2021
1 parent 70b2015 commit d360188
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 1 addition & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ do
echo " * Patching for Android..."
sed -i 's|!/usr/bin/env bash|!/system/bin/sh|g' "$SCRIPT_PATH"

echo " * Setting executable permissions..."
chmod +x "$SCRIPT_PATH"

echo

zip -0 -r -ll "$ZIP" META-INF/ build.sh customize.sh module.prop service.sh system/
done

echo " * Done!"
echo " * Done!"
3 changes: 3 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ SCRIPT_PARENT_PATH="system/bin"
SCRIPT_NAME="ktweak"
SCRIPT_PATH="$SCRIPT_PARENT_PATH/$SCRIPT_NAME"

ui_print " * Setting executable permissions..."
set_perm_recursive "$SCRIPT_PATH" root root 0777 0755

ui_print " * Executing script immediately..."
sh "$SCRIPT_PATH"

Expand Down

0 comments on commit d360188

Please sign in to comment.