From efd7df068e3085417c882ae08393e1e215fdc0ed Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 29 Oct 2020 17:40:59 +0100 Subject: [PATCH] Print full experiment path --- garlic/stages/experiment.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/garlic/stages/experiment.nix b/garlic/stages/experiment.nix index 205d72a..91067f8 100644 --- a/garlic/stages/experiment.nix +++ b/garlic/stages/experiment.nix @@ -38,11 +38,12 @@ stdenv.mkDerivation { export GARLIC_EXPERIMENT=$(basename $out) if [ -e "\$GARLIC_EXPERIMENT" ]; then - >&2 echo "skipping, path exists: \$(pwd)/\$GARLIC_EXPERIMENT" + >&2 echo "skipping, experiment exists: \$(pwd)/\$GARLIC_EXPERIMENT" exit 0 fi mkdir -p "\$GARLIC_EXPERIMENT" + cd "\$GARLIC_EXPERIMENT" ${unitsLinks}