]> scripts.mit.edu Git - wizard.git/commitdiff
Fix another bug in install integration.
authorEdward Z. Yang <ezyang@mit.edu>
Mon, 5 Jul 2010 18:25:37 +0000 (11:25 -0700)
committerEdward Z. Yang <ezyang@mit.edu>
Mon, 5 Jul 2010 18:25:37 +0000 (11:25 -0700)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
wizard/command/install.py

index efbaaa64d4df230917b5d02620250a085750633b..1dec353e9d6a4747533a2ebf73b1f8688577eaec 100644 (file)
@@ -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)