chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
92723a582ffa58a6c31b6f898cee67ea7d0fb3f3
[reprap-play.git]
/
quacks-ingredients-update-levels
1
#!/bin/sh
2
set -e
3
for l in 1 2 3 4 5; do
4
f=quacks-ingredients-L$l.scad
5
cat >$f.tmp <<END
6
\$phase=$l;
7
module Token_L(){ Token_L$l(); }
8
//// toplevels-from:
9
include <quacks-ingredients.scad>
10
END
11
mv -f $f.tmp $f
12
done