diff --git a/Makefile b/Makefile index 35439606..471ac934 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ compile: nextflow: if [ ! -d "$(NF_DIR)" ]; then git clone https://github.com/nextflow-io/nextflow.git "$(NF_DIR)"; fi - pushd "$(NF_DIR)"; git checkout && make compile && git restore .; popd + cd "$(NF_DIR)"; git checkout && make compile && git restore .; cd .. compile-all: nextflow compile