aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2012-09-23 20:38:16 -0400
committerMax Howell2012-09-23 20:38:16 -0400
commit7aa38b5d0303ba711c0b4f1c22c7dcfec5eceb9d (patch)
treeeac048654480718bb3e1a59a65d78d8e487f070f
parent9ac477b07c6569ae663f33e0a864b49f0b4ae9bd (diff)
downloadbrew-7aa38b5d0303ba711c0b4f1c22c7dcfec5eceb9d.tar.bz2
Always unpack the source tarball, not the bottle
-rwxr-xr-xLibrary/Contributions/cmds/brew-unpack.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Contributions/cmds/brew-unpack.rb b/Library/Contributions/cmds/brew-unpack.rb
index cee1d0ba3..86bab4eb5 100755
--- a/Library/Contributions/cmds/brew-unpack.rb
+++ b/Library/Contributions/cmds/brew-unpack.rb
@@ -23,6 +23,9 @@ module ScriptDataReader
end
end
+# otherwise we may unpack bottles
+ENV['HOMEBREW_BUILD_FROM_SOURCE'] = '1'
+
# Need to tweak the Formula class slightly so that patching is option and `DATA`
# patches work correctly.
class Formula