Update pkgs/stdenv/generic/setup.sh:use [[ instead of [
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
2c3b847d29
commit
cf5882f27c
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ configurePhase() {
|
|||
fi
|
||||
|
||||
# By default, disable static builds.
|
||||
if [ -z "${dontDisableStatic:-}" ]; then
|
||||
if [[ -z ${dontDisableStatic:-} ]]; then
|
||||
if grep -q enable-static "$configureScript"; then
|
||||
configureFlags="--disable-static $configureFlags"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue