aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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