summaryrefslogtreecommitdiffstats
path: root/kexi/examples/build_kexi_files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/examples/build_kexi_files.sh')
-rwxr-xr-xkexi/examples/build_kexi_files.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/kexi/examples/build_kexi_files.sh b/kexi/examples/build_kexi_files.sh
new file mode 100755
index 00000000..8f59c9ef
--- /dev/null
+++ b/kexi/examples/build_kexi_files.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Builds .kexi files from .sql files from the current directory.
+# Only .kexi file that is older than .sql file is recreated.
+# ksqlite is needed on the PATH
+
+for f in `ls -1 *.kexi.sql` ; do
+ ./build_kexi_file.sh $f
+done