From 5f37e454f092a14aed3ef39dde57b285505fbf68 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Sep 13 2017 18:04:49 +0000 Subject: Fix critpath calculation in nightlies In nightly.sh we are providing --url file://$DESTDIR/compose/Everything as the argument and it needs a tailing '/' for calculating right url. Signed-off-by: Mohan Boddu --- diff --git a/scripts/critpath.py b/scripts/critpath.py index 8873e3d..94cf0a1 100755 --- a/scripts/critpath.py +++ b/scripts/critpath.py @@ -136,8 +136,8 @@ def setup_yum(url=None, release=None, arch=None): if updatepath[release]: my.add_enable_repo('critpath-repo-updates-%s' % arch, baseurls=[url+updatepath[release]]) else: - my.add_enable_repo('critpath-repo-%s' % arch, baseurls=[url+'$basearch/os/']) - print "adding critpath-repo-%s at %s" % (arch, url+'$basearch/os/') + my.add_enable_repo('critpath-repo-%s' % arch, baseurls=[url+'/$basearch/os/']) + print "adding critpath-repo-%s at %s" % (arch, url+'/$basearch/os/') return (my, cachedir) def nvr(p):