This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ctf_folder="capturetheflag" | |
temp_folder=$(mktemp -d) | |
usage() { | |
echo "Usage: $0 [ -b BRANCH ] [ -n CTF_FOLDER_NAME ] <path/to/Minetest/folder> <fork repository>" | |
echo "Options:" | |
echo " -b BRANCH: The branch used for the PR (default: origin)" | |
echo " -n CTF_FOLDER_NAME: Name of your CTF folder (default: capturetheflag)" |