From: Edward Z. Yang Date: Mon, 5 Jul 2010 18:25:37 +0000 (-0700) Subject: Fix another bug in install integration. X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/commitdiff_plain/eed9d9a6f8bb307328730cdc0973302854b20750 Fix another bug in install integration. Signed-off-by: Edward Z. Yang --- diff --git a/wizard/command/install.py b/wizard/command/install.py index efbaaa6..1dec353 100644 --- a/wizard/command/install.py +++ b/wizard/command/install.py @@ -54,7 +54,7 @@ Autoinstalls the application %s in the directory DIR.""" % (appname, appname)) shell.call("git", "reset", "-q", "--hard", appstr) input.infobox("Installing...") if not version: - version = application.detectVersionFromGit(appname, appname + "-") + version = application.detectVersionFromGit(appname + "-*", appname + "-") v = distutils.version.LooseVersion(version) if application.needs_web_stub: application.install(v, options, web_stub_path)