From 6267314c6331104a6da6438f820d90c9524cc854 Mon Sep 17 00:00:00 2001 From: George Danchev Date: Sun, 26 Jun 2011 14:06:38 +0000 Subject: [PATCH] start a master script --- libisoburn/trunk/releng/run_all | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 libisoburn/trunk/releng/run_all diff --git a/libisoburn/trunk/releng/run_all b/libisoburn/trunk/releng/run_all new file mode 100755 index 00000000..66a101ec --- /dev/null +++ b/libisoburn/trunk/releng/run_all @@ -0,0 +1,30 @@ +#!/bin/bash + +set -e + +SELF=`echo $0|sed -e 's/\.\///'` +CLOG1=$0.1.log +CLOG2=$0.2.log + +> {CLOG1} +> {CLOG2} + +main() { +# avoid running (your)self +for s in `ls | grep -v ${SELF}`; do + if [ -x ${s} ]; then + set +e + printf "\n$0: running ${s}..." + # -rc -clean are shared options amongst the all releng scripts + ./${s} -rc -clean 1>>${CLOG1} 2>>${CLOG2} + RET=$? + printf "Done (return code: $RET)" + set -e + fi +done +printf "\n" +exit 0 +} + +# +main