add self-contained and unified option parsing

This commit is contained in:
George Danchev
2011-07-08 10:32:22 +00:00
parent def086fb8d
commit b3480b1653
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#!/bin/bash
set -e
. releng_getopts.inc
printf "\nRELENG_XORRISO =${RELENG_XORRISO}"
printf "\nKEEP =${KEEP}"
printf "\nSIMULATE_FAILURE =${SIMULATE_FAILURE}"
printf "\n"
exit 0