mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
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
@ -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 New Issue
Block a user