-
Notifications
You must be signed in to change notification settings - Fork 10
a14 #49
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
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
511a138
to
463ca1f
Compare
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.
actually I want to to error out if these files cannot be found so I dont want to guard them with such a condition.. if they are not there something is wrong
ebc0729
to
0bd5a8a
Compare
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...