From 97c386a8368595237833b24b291430c9d46a6707 Mon Sep 17 00:00:00 2001 From: Yossef Mendelssohn Date: Sun, 25 Aug 2013 13:03:44 -0400 Subject: [PATCH] undo accidental changes to master This reverts commits 5b4b7223c2a5ff0863b42b8eae5de1c937d77659, fe2933519cb621acaa0bdc8815850a3362b63392, and 9f2cfbaed041e6f62741c7de3deafb9852a42591. This gets us back to 11ea991577f3785ddb6067dca68c11240be3db08. --- script/boxen | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/script/boxen b/script/boxen index 479dd0a..e856a7a 100755 --- a/script/boxen +++ b/script/boxen @@ -25,9 +25,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] + [/-service/] -unless ENV["BOXEN_NO_PULL"] || - ARGV.any? { |arg| NO_PULL_ARGS.any? { |no| arg.match(no) } } + +unless ENV["BOXEN_NO_PULL"] || ARGV.include?("--no-pull") quietly = "> /dev/null 2>&1" if system("which git > /dev/null") && File.directory?(".git") \