From cf5882f27c249f843a357f2da58c763c94b804c1 Mon Sep 17 00:00:00 2001 From: Raphael Megzari Date: Wed, 30 Jun 2021 13:24:48 +0900 Subject: [PATCH] Update pkgs/stdenv/generic/setup.sh:use [[ instead of [ Co-authored-by: Sandro --- pkgs/stdenv/generic/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 7499a46a03b7..3515439337c6 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -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