summaryrefslogtreecommitdiff
path: root/rdoff/test/makelib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rdoff/test/makelib.sh')
-rw-r--r--rdoff/test/makelib.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/rdoff/test/makelib.sh b/rdoff/test/makelib.sh
new file mode 100644
index 0000000..520bb19
--- /dev/null
+++ b/rdoff/test/makelib.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+[ $1 ] || {
+ echo "Usage: $0 <library name> <module> [...]"
+ exit 1
+}
+
+libname=$1; shift
+
+rdflib c $libname
+
+for f in $*; do
+ rdflib a $libname $f $f
+done