mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
Add exit trapping code back to make_artifacts.sh.
Otherwise it never exits!
This commit is contained in:
@@ -16,6 +16,14 @@ esac
|
||||
|
||||
ARTIFACTS="${ARTIFACTS:-/artifacts}"
|
||||
|
||||
# This is our sentinel that tells us when we're done.
|
||||
rm -f $ARTIFACTS/DONE
|
||||
|
||||
clean_up() {
|
||||
echo "All done!" > "$ARTIFACTS/DONE"
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# build binaries
|
||||
|
||||
cabal --version
|
||||
|
||||
Reference in New Issue
Block a user