48 lines
882 B
Bash
Executable File
48 lines
882 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
START_DIR_DONT_CHANGE=`pwd`
|
|
SELF=$(basename "$0")
|
|
# required config items
|
|
# RELENG_XORRISO=""
|
|
|
|
# optional config items
|
|
|
|
# config file
|
|
CONFFILE=${HOME}/.libburnia-releng/${SELF}.conf
|
|
GEN_DATA_DIR=releng_generated_data/${SELF}
|
|
KEEP=0
|
|
|
|
printf "\n$0: FAIL: === TEPLATE === RENAME ME TO releng_<title>\n"
|
|
exit 31
|
|
|
|
#####################################################################
|
|
print_help() {
|
|
cat << HLP
|
|
Usage:
|
|
$0 -help
|
|
|
|
# using a config file ${CONFFILE}
|
|
$0 -rc [-keep]
|
|
|
|
# without using a config file
|
|
$0 your_own_options_here
|
|
|
|
# cleanup test generated data directory and exit
|
|
$0 -cleanup
|
|
HLP
|
|
}
|
|
|
|
#####################################################################
|
|
print_help
|
|
#if [ ! -x "${XOR}" ]; then
|
|
# printf "$0: Not found or not an executable: $XOR\n"
|
|
# exit 50
|
|
#fi
|
|
|
|
# xorriso version details, incl. underlying libraries
|
|
# "${XOR}" -version
|
|
|
|
exit 0
|