aboutsummaryrefslogtreecommitdiff
path: root/linux/make_artifacts.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-03-12 17:09:17 -0700
committerJohn MacFarlane <[email protected]>2023-03-12 17:09:17 -0700
commite6d4af1a674a5586cac484a94b2a40e76e5a3eb9 (patch)
tree4f5396ccca5f7807a8d80418db35438a1879a2ca /linux/make_artifacts.sh
parent3626724817e0d97e376d11c3f005ebdb8ea191f7 (diff)
Cirrus: more build improvements.
Name artifact directories with the architecture type.
Diffstat (limited to 'linux/make_artifacts.sh')
-rw-r--r--linux/make_artifacts.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index e10d5b907..6d3c48954 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -17,18 +17,10 @@ case "$MACHINE" in
*) ARCHITECTURE=unknown;;
esac
-ARTIFACTS="$WORK/linux/artifacts"
+ARTIFACTS="$WORK/linux-${ARCHITECTURE}"
echo "Creating $ARTIFACTS directory"
mkdir -p $ARTIFACTS
-# This is our sentinel that tells us when we're done.
-rm -f $ARTIFACTS/DONE
-
-clean_up() {
- echo "Exiting with error..."
-}
-trap clean_up EXIT
-
echo "Copying and stripping pandoc binary"
cp "$BINPATH" "$ARTIFACTS/pandoc"
strip "$ARTIFACTS/pandoc"