X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/blobdiff_plain/72177f26b9e2eb66c307b0ff15d4840903b434f6..30380c4b5b28df9670ea5952e14bc485d1d34133:/wizard/command/install.py diff --git a/wizard/command/install.py b/wizard/command/install.py index a4faf83..4ae9058 100644 --- a/wizard/command/install.py +++ b/wizard/command/install.py @@ -40,13 +40,12 @@ Autoinstalls the application %s in the directory DIR.""" % (appname, appname)) else: ihandler.ask(options) - sh = shell.Shell() input.infobox("Copying files (this may take a while)...") if not os.path.exists(dir): - sh.call("git", "clone", "-q", "--shared", application.repository(old_options.srv_path), dir) + shell.call("git", "clone", "-q", "--shared", application.repository(old_options.srv_path), dir) with util.ChangeDirectory(dir): if not old_options.retry and version and version != "head-scripts": # for ease in testing - sh.call("git", "reset", "-q", "--hard", appstr) + shell.call("git", "reset", "-q", "--hard", appstr) input.infobox("Installing...") application.install(distutils.version.LooseVersion(version), options) if not old_options.no_commit: