Skip to content

Commit 314d246

Browse files
committed
mega-melt: fail fast if no melting-pot script
1 parent b49a1dd commit 314d246

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ then
6161
cp "$meltingPotLocal" "$meltingPotScript"
6262
else
6363
curl -fsL "$meltingPotURL" > "$meltingPotScript"
64-
fi &&
64+
fi ||
65+
die "Failed to obtain melting pot script!"
6566

6667
# Prevent tee from eating the melting-pot error code.
6768
# See: https://stackoverflow.com/a/6872163/1207769

0 commit comments

Comments
 (0)