Print full experiment path

This commit is contained in:
Rodrigo Arias 2020-10-29 17:40:59 +01:00
parent 7c5345f4bc
commit efd7df068e

View File

@ -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}