File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,14 @@ if [ $AUTHOR == "gitpuller" ]; then
9292
9393cat << 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
137144cat << EOF > config/romeditor
138145#!/bin/bash
139146if [ \$ 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
You can’t perform that action at this time.
0 commit comments