command = ["./ccache.sh"],
haltOnFailure = True))
- factory.addStep(ShellCommand(
- name = "patchfeedsconfgitfull",
- description = "Patching feeds.conf to use src-git-full",
- workdir = "build/sdk",
- command = "sed -e 's#^src-git #src-git-full #g' feeds.conf.default > feeds.conf",
- haltOnFailure = True))
-
if git_ssh:
factory.addStep(StringDownload(
name = "dlgitclonekey",
factory.addStep(ShellCommand(
name = "patchfeedsconf",
- description = "Patching feeds.conf to use SSH cloning",
+ description = "Patching feeds.conf",
workdir = "build/sdk",
- command = "sed -i -e 's#https://#ssh://git@#g' feeds.conf",
+ command = "sed -e 's#https://#ssh://git@#g' feeds.conf.default > feeds.conf",
haltOnFailure = True))
factory.addStep(ShellCommand(