mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Move enter to functions.sh, and move overclocks to overclock.sh
This commit is contained in:
parent
a350cd92f1
commit
7446b2d304
8 changed files with 121 additions and 78 deletions
|
@ -15,6 +15,25 @@
|
|||
#You should have received a copy of the GNU General Public License
|
||||
#along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
enter() {
|
||||
echo "================================================================================================"
|
||||
dir=$1;
|
||||
cd $base$dir;
|
||||
echo "[ENTERING] "$dir;
|
||||
}
|
||||
export -f enter;
|
||||
|
||||
enterAndClear() {
|
||||
enter $1;
|
||||
gitReset;
|
||||
}
|
||||
export -f enterAndClear;
|
||||
|
||||
gitReset() {
|
||||
git add -A && git reset --hard;
|
||||
}
|
||||
export -f gitReset;
|
||||
|
||||
enableDexPreOpt() {
|
||||
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
|
||||
echo "WITH_DEXPREOPT_PIC := true" >> BoardConfig.mk;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue