Skip to content

Commit 60dfbe2

Browse files
committed
scriptmakir: add cm10 to gitpuller and romeditor
1 parent 90c945b commit 60dfbe2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

scriptmakir

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,14 @@ if [ $AUTHOR == "gitpuller" ]; then
9292

9393
cat << EOF > config/gitpuller
9494
#!/bin/bash
95-
if [ \$SCRIPT_REPO == "cm" ]; then
95+
if [ \$SCRIPT_REPO == "cm" ] && [ \$REPO_PLATFORM == "ics" ]; then
96+
# below is examples, git pull is recommended
97+
# cd \$REPOS/cm-ics/where-in-the-repo-you-want-to-modify
98+
# git pull repo-you-want-to-pull
99+
exit 0
100+
fi
101+
102+
if [ \$SCRIPT_REPO == "cm" ] && [ \$REPO_PLATFORM == "jellybean" ]; then
96103
# below is examples, git pull is recommended
97104
# cd \$REPOS/cm-ics/where-in-the-repo-you-want-to-modify
98105
# git pull repo-you-want-to-pull
@@ -137,7 +144,7 @@ if [ $AUTHOR == "romeditor" ]; then
137144
cat << EOF > config/romeditor
138145
#!/bin/bash
139146
if [ \$SCRIPT_REPO == "cm" ]; then
140-
cd \$REPOS/cm-ics/vendor/cm/config
147+
cd \$REPOS/cm-\$REPO_PLATFORM/vendor/cm/config
141148
sed -i 's/developerid=cyanogenmod/developerid=\$(shell whoami)/g' common.mk
142149
sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := SWORDKITCHEN/g' common.mk
143150
sed -i 's/shell date -u +%Y%m%d/shell date +%Y%m%d/g' common.mk

0 commit comments

Comments
 (0)