Files
yuzu/.ci/scripts/linux-flatpak/finish.sh
2021-01-27 10:11:03 +02:00

10 lines
259 B
Bash

#!/bin/bash -ex
YUZU_SRC_DIR="/yuzu"
REPO_DIR="$YUZU_SRC_DIR/repo"
# When the script finishes, unmount the repository and delete sensitive files,
# regardless of whether the build passes or fails
umount "$REPO_DIR" || true
rm -rf "$REPO_DIR" /tmp/* || true