forked from Open-CT/openct-tasks
19 lines
353 B
Bash
19 lines
353 B
Bash
#! /bin/bash
|
|
|
|
line='---------------'
|
|
echo "Generating all the images:"
|
|
for dir in *;
|
|
do
|
|
if [[ ! -d "$dir" ]]; then
|
|
continue;
|
|
fi
|
|
printf " - $dir %s " ${line:$((${#dir}))};
|
|
if [[ -e "$dir/genImgs.sh" ]]; then
|
|
cd "$dir";
|
|
bash "genImgs.sh";
|
|
cd ..;
|
|
echo "DONE";
|
|
else
|
|
echo "Nothing to do";
|
|
fi
|
|
done |