]> git.donarmstrong.com Git - wannabuild.git/blobdiff - schema/arches-tables.sh
Document schema
[wannabuild.git] / schema / arches-tables.sh
diff --git a/schema/arches-tables.sh b/schema/arches-tables.sh
new file mode 100755 (executable)
index 0000000..846ce65
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+ARCHES="alpha amd64 arm armel hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc"
+
+rm arches-tables.sql
+for arch in $ARCHES; do sed -e "s/ARCH/$arch/g" < arches-tables.in >> arches-tables.sql ; done