Files
yuzu/.ci/scripts/linux-flatpak/finish.sh
Roman Meier 3b833104fb ci: Port Citra flatpak build to yuzu
Port Citra's travis based flatpak build
to yuzu's azure build system.
2020-05-09 11:49:35 +02:00

11 lines
262 B
Bash
Executable File

#!/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