add a template script to start with - template_new_releng

This commit is contained in:
George Danchev
2011-06-26 23:44:51 +00:00
parent 8f4c0e82ef
commit 54e65fa11e
3 changed files with 44 additions and 15 deletions

37
releng/template_new_releng Executable file
View File

@ -0,0 +1,37 @@
#!/bin/bash
set -e
START_DIR_DONT_CHANGE=`pwd`
# required config items
# XOR=""
# optional config items
# config file
CONFFILE=$HOME/TODO.conf
CLEAN=0
#####################################################################
print_help() {
cat << HLP
Usage:
$0 -help
# using a config file ${CONFFILE}
$0 -rc [-clean]
# without using a config file
$0
HLP
}
#####################################################################
#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