Jérôme Respaut a9bedaeedb MON-259: Improve auto_update scripts
and allow to have an argument to target a specific directory when launched manually
2018-07-19 15:00:59 +02:00

13 lines
174 B
Bash
Executable File

#!/bin/bash
set -xueo pipefail
TO_PARSE="."
if [ ! -z ${1+x} ]; then
TO_PARSE="$1"
fi
cd $(dirname $0)
for script in [0-9][0-9]_*.sh; do
./${script} $TO_PARSE
done