forked from mirrors/nixpkgs
stdenv-setup: Combine [[ .. ]] && [[ .. ]] into one [[ .. && .. ]]
Also remove useless quotes on same line
This commit is contained in:
parent
5d693c84d2
commit
273a4c1c78
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue