Commit 273a4c1c authored by John Ericson's avatar John Ericson
Browse files

stdenv-setup: Combine [[ .. ]] && [[ .. ]] into one [[ .. && .. ]]

Also remove useless quotes on same line
parent 5d693c84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -742,7 +742,7 @@ configurePhase() {
buildPhase() {
    runHook preBuild

    if [ -z "$makeFlags" ] && ! [[ -n "$makefile" || -e "Makefile" || -e "makefile" || -e "GNUmakefile" ]]; then
    if [[ -z $makeFlags && ! ( -n $makefile || -e Makefile || -e makefile || -e GNUmakefile[[ ) ]]; then
        echo "no Makefile, doing nothing"
    else
        # See https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409