-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a14 #49
base: main
Are you sure you want to change the base?
a14 #49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok... this may look like A13... maybe could be replace by symlink
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u test that with a symlink?
er.sh
Outdated
@@ -479,8 +479,8 @@ F_SIGPATCH(){ | |||
ERR=$? | |||
echo "[$FUNCNAME] Signature spoofing patching ended with $ERR" | |||
echo "[$FUNCNAME] adding signature spoof controller" | |||
cp $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignaturePreferenceController.java ${SRC_TOP}/packages/apps/Settings/src/com/android/settings/development/SpoofSignaturePreferenceController.java || exit 3 | |||
cp $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignatureInfo.java ${SRC_TOP}/packages/apps/Settings/src/com/android/settings/development/SpoofSignatureInfo.java || exit 3 | |||
[ -f $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignaturePreferenceController.java ] && (cp $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignaturePreferenceController.java ${SRC_TOP}/packages/apps/Settings/src/com/android/settings/development/SpoofSignaturePreferenceController.java || exit 3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you pls use "if...then..fi" for this and the next check? the reason is that otherwise the script will break when the condition is not true. using the if..then..fi will ensure it only ends with false when there is a (real) problem
changes should have no effect on older versions.
only the check if files exist before copying it (er.sh) is overlapping, but should be fine...