Print the experiment being run

This commit is contained in:
Rodrigo Arias 2020-10-14 16:28:27 +02:00
parent c7d2e2d866
commit 9d8f7d9074

View File

@ -31,6 +31,7 @@ stdenv.mkDerivation {
fi fi
export GARLIC_EXPERIMENT=$(basename $out) export GARLIC_EXPERIMENT=$(basename $out)
echo "Running experiment \$GARLIC_EXPERIMENT"
if [ -e "\$GARLIC_EXPERIMENT" ]; then if [ -e "\$GARLIC_EXPERIMENT" ]; then
>&2 echo "Already exists \$GARLIC_EXPERIMENT, aborting" >&2 echo "Already exists \$GARLIC_EXPERIMENT, aborting"