zsh: fix --enable-etcdir

`--enable-etcdir` becomes `--enable-etcdir=/etc`

Fixes Homebrew/homebrew#25391.
Closes Homebrew/homebrew#25392.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Chris Barrick 2013-12-21 16:58:56 -05:00 committed by Jack Nagel
parent 123112979f
commit 0075936191

View file

@ -27,7 +27,7 @@ class Zsh < Formula
]
if build.include? 'enable-etcdir'
args << '--enable-etcdir'
args << '--enable-etcdir=/etc'
else
args << '--disable-etcdir'
end