use/document data directory

This commit is contained in:
George Danchev 2011-06-28 15:17:28 +00:00
parent 82133fe93a
commit 9c54cc3bc0

View File

@ -3,8 +3,9 @@
set -e set -e
SELF=$(basename "$0") SELF=$(basename "$0")
CLOG1=log.$SELF.1 GEN_DATA_DIR=releng_generated_data
CLOG2=log.$SELF.2 CLOG1=${GEN_DATA_DIR}/log.$SELF.1
CLOG2=${GEN_DATA_DIR}/log.$SELF.2
PASSED_OPTIONS="" PASSED_OPTIONS=""
if [ "${1}" == "-cleanup" ]; then if [ "${1}" == "-cleanup" ]; then
@ -15,8 +16,13 @@ elif [ "${1}" == "-rc" ]; then
PASSED_OPTIONS="-rc" PASSED_OPTIONS="-rc"
else else
cat << HLP cat << HLP
runs executables from CWD starting with releng_*.
stdout/stderr output stored in ${GEN_DATA_DIR}/log.*
${SELF} -rc [-keep] ${SELF} -rc [-keep]
${SELF} -cleanup ${SELF} -cleanup
HLP HLP
exit 101 exit 101
fi fi