From fe2933519cb621acaa0bdc8815850a3362b63392 Mon Sep 17 00:00:00 2001 From: Yossef Mendelssohn Date: Sun, 25 Aug 2013 12:59:03 -0400 Subject: [PATCH] switch around the no-pull arg check --- script/boxen | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/boxen b/script/boxen index 391212a..5c11401 100755 --- a/script/boxen +++ b/script/boxen @@ -26,7 +26,8 @@ Dir.chdir Pathname.new(__FILE__).realpath + "../.." # Auto-update code. This is done as early as possible so that changes # to boxen support code or dependencies can be grabbed. NO_PULL_ARGS = %w[--no-pull -h -? --help] -unless ENV["BOXEN_NO_PULL"] || NO_PULL_ARGS.any? { |arg| ARGV.include?(arg) } +unless ENV["BOXEN_NO_PULL"] || + ARGV.any? { |arg| NO_PULL_ARGS.include?(arg) } quietly = "> /dev/null 2>&1" if system("which git > /dev/null") && File.directory?(".git") \