--- scripts/makeupdates | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/makeupdates b/scripts/makeupdates index c6c663d..338e44f 100755 --- a/scripts/makeupdates +++ b/scripts/makeupdates @@ -166,10 +166,11 @@ def main(argv): spec = os.path.realpath(cwd + '/anaconda.spec.in') updates = cwd + '/updates' keep, compile, help, unknown = False, False, False, False + tag = None try: - opts, args = getopt.getopt(sys.argv[1:], 'kc?', - ['keep', 'compile', 'help']) + opts, args = getopt.getopt(sys.argv[1:], 't:kc?', + ['tag=', 'keep', 'compile', 'help']) except getopt.GetoptError: help = True @@ -180,6 +181,8 @@ def main(argv): compile = True elif o in ('-?', '--help'): help = True + elif o in ('-t', '--tag'): + tag = a else: unknown = True @@ -195,7 +198,8 @@ def main(argv): sys.stderr.write("You must be at the top level of the anaconda source tree.\n") sys.exit(1) - tag = getArchiveTag(configure, spec) + if not tag: + tag = getArchiveTag(configure, spec) if not os.path.isdir(updates): os.makedirs(updates) -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list