-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path98-delete-tag.sh
46 lines (45 loc) · 1.82 KB
/
98-delete-tag.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
# Your build source code directory path. In the example below the build source code directory path is in the "home" folder. If your source code directory is on an external HDD it should look like: //media/your PC username/the name of your storage device/path/to/your/source/code/folder
SAUCE=~/android/aosp-6.0
echo "----------------------------------------"
echo ""
echo " D E L E T E - T A G "
echo " OMAP4-AOSP PROJECT "
echo ""
echo "----------------------------------------"
echo ""
echo "----------------------------------------"
cd $SAUCE/bionic
git push --delete https://github.com/OMAP4-AOSP/android_bionic.git $1
echo ""
echo "----------------------------------------"
cd $SAUCE/bootable/recovery
git push --delete https://github.com/OMAP4-AOSP/android_bootable_recovery.git $1
echo ""
echo "----------------------------------------"
cd $SAUCE/build
git push --delete https://github.com/OMAP4-AOSP/android_build.git $1
echo ""
echo "----------------------------------------"
cd $SAUCE/frameworks/av
git push --delete https://github.com/OMAP4-AOSP/android_frameworks_av.git $1
echo ""
echo "----------------------------------------"
cd $SAUCE/frameworks/native
git push --delete https://github.com/OMAP4-AOSP/android_frameworks_native.git $1
echo ""
echo "----------------------------------------"
cd $SAUCE/packages/apps/Camera2
git push --delete https://github.com/OMAP4-AOSP/android_packages_apps_Camera2.git $1
echo ""
echo "----------------------------------------"
cd $SAUCE/system/core
git push --delete https://github.com/OMAP4-AOSP/android_system_core.git $1
echo ""
echo "----------------------------------------"
echo "----------------------------------------"
echo ""
echo "Done!"
cd $SAUCE
echo "----------------------------------------"
echo "----------------------------------------"