mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-22 19:27:41 +02:00
27 lines
490 B
Plaintext
27 lines
490 B
Plaintext
|
#!/bin/sh -ex
|
||
|
|
||
|
rm -rf data
|
||
|
|
||
|
mkdir data
|
||
|
for n in ref new opt; do
|
||
|
|
||
|
case $n in
|
||
|
ref) flags=;;
|
||
|
new) flags=-n;;
|
||
|
opt) flags="-n -o";;
|
||
|
esac
|
||
|
|
||
|
mkdir data/$n
|
||
|
for m in out expr prof; do
|
||
|
case $m in
|
||
|
out) more=-s;;
|
||
|
expr) more=-e;;
|
||
|
prof) more=-p;;
|
||
|
esac
|
||
|
|
||
|
mkdir data/$n/$m
|
||
|
./runs $flags $more data/$n/$m || exit
|
||
|
done
|
||
|
done
|
||
|
|