summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-cass/src/main/cql/build.sh')
-rw-r--r--auth/auth-cass/src/main/cql/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/auth/auth-cass/src/main/cql/build.sh b/auth/auth-cass/src/main/cql/build.sh
new file mode 100644
index 00000000..caa07494
--- /dev/null
+++ b/auth/auth-cass/src/main/cql/build.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+CQLSH=/Volumes/Data/apache-cassandra-2.1.14/bin/cqlsh
+DIR=.
+for T in ns perm role user_role cred config; do
+ $CQLSH -e "COPY authz.$T TO '$DIR/$T.dat' WITH DELIMITER='|'"
+done