diff options
author | Bernie Innocenti <bernie@codewiz.org> | 2010-05-03 21:53:47 (GMT) |
---|---|---|
committer | Bernie Innocenti <bernie@codewiz.org> | 2010-05-03 21:53:47 (GMT) |
commit | 1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch) | |
tree | 698eefa87ac437deaf36a4141b326f8ce7986692 /tools/update |
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'tools/update')
-rwxr-xr-x | tools/update | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/update b/tools/update new file mode 100755 index 0000000..b4f8d9c --- /dev/null +++ b/tools/update @@ -0,0 +1,22 @@ +#!/bin/sh +# shell script for updating XaoS example files to latest file format. +# Not for normal use +# Requires XaoS compiled with aa driver + +echo "$0" +cat $0 | head -4 | tail -3 | sed s/"^# "/""/ +echo -n "Do you really want to do this? [n] " +read A +if [ "$A" != "y" ]; then + exit 1 + fi + +cd .. +mkdir new +mkdir new/examples +rm fract0.xpf +for name in examples/*.xpf +do + echo "zs2qq" | bin/xaos -driver aa -aadriver stdout -kbddriver stdin -load $name -nomouse + mv fract0.xpf new/$name +done |