Print full experiment path
This commit is contained in:
parent
7c5345f4bc
commit
efd7df068e
@ -38,11 +38,12 @@ stdenv.mkDerivation {
|
|||||||
export GARLIC_EXPERIMENT=$(basename $out)
|
export GARLIC_EXPERIMENT=$(basename $out)
|
||||||
|
|
||||||
if [ -e "\$GARLIC_EXPERIMENT" ]; then
|
if [ -e "\$GARLIC_EXPERIMENT" ]; then
|
||||||
>&2 echo "skipping, path exists: \$(pwd)/\$GARLIC_EXPERIMENT"
|
>&2 echo "skipping, experiment exists: \$(pwd)/\$GARLIC_EXPERIMENT"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "\$GARLIC_EXPERIMENT"
|
mkdir -p "\$GARLIC_EXPERIMENT"
|
||||||
|
|
||||||
cd "\$GARLIC_EXPERIMENT"
|
cd "\$GARLIC_EXPERIMENT"
|
||||||
${unitsLinks}
|
${unitsLinks}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user