From ca5d10895d24d2ee3448db1beec4afc7179a3d73 Mon Sep 17 00:00:00 2001 From: Timothy Sutton Date: Tue, 24 Sep 2013 19:53:07 -0400 Subject: [PATCH] Fix leftover options from --leave-files name change --- brigadier | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/brigadier b/brigadier index 861a6b9..18383f7 100755 --- a/brigadier +++ b/brigadier @@ -141,8 +141,8 @@ product, ie. 'BootCamp-041-1234'. Uses the current directory if this option is o status("Changing output directory to %s to work around an issue \ when running the installer out of 'system32'." % output_dir) - if opts.leave_files and not opts.install: - sys.exit("The --leave-files option is only useful when used with --install option!") + if opts.keep_files and not opts.install: + sys.exit("The --keep-files option is only useful when used with --install option!") if opts.model: if opts.install: @@ -283,7 +283,7 @@ when running the installer out of 'system32'." % output_dir) if opts.install: status("Installing Boot Camp...") installBootcamp(findBootcampMSI(landing_dir)) - if not opts.leave_files: + if not opts.keep_files: subprocess.call(['cmd', '/c', 'rmdir', '/q', '/s', landing_dir]) # clean up the temp dir always