Douglas Schilling Landgraf has uploaded a new change for review. Change subject: Makefile.am: Make env var OVIRT_REPO_URL work again ......................................................................
Makefile.am: Make env var OVIRT_REPO_URL work again Commit 7323c8d has removed the option to use OVIRT_REPO_URL with autogen/make. This patch re-adds such feature. Example: $ ./autogen $ make OVIRT_REPO_URL="http://127.0.0.1/repo1 http://127.0.0.1/repo2" Change-Id: Id58ec2464149224ad38270af7a5435f16e02b9ff Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M Makefile.am 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/43/37143/1 diff --git a/Makefile.am b/Makefile.am index 341de44..98d92ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -108,6 +108,12 @@ printf "$${EDORA_REPO_LOC}" >> repos.ks ;\ printf "$${UPDATE_REPO_LINE}" >> repos.ks ;\ printf "$${VIRT_PREVIEW_LINE}" >> repos.ks ;\ + else \ + echo "# OVIRT_REPO_URL=$(OVIRT_REPO_URL)" > $@ ;\ + for repo in $(OVIRT_REPO_URL); do \ + echo "repo --name=repo$${i} --baseurl=$${repo}" >> $@ ;\ + i=$${i}_ ;\ + done ;\ fi ;\ ) -- To view, visit http://gerrit.ovirt.org/37143 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id58ec2464149224ad38270af7a5435f16e02b9ff Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node-iso Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
