diff options
Diffstat (limited to 'auth/auth-cass/cass_init/push.sh')
-rw-r--r-- | auth/auth-cass/cass_init/push.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/auth-cass/cass_init/push.sh b/auth/auth-cass/cass_init/push.sh index 30e830ed..09a0fccf 100644 --- a/auth/auth-cass/cass_init/push.sh +++ b/auth/auth-cass/cass_init/push.sh @@ -17,8 +17,9 @@ fi cd dats for T in $(ls *.dat); do if [ -s $T ]; then - cqlsh -e "use authz; COPY $T FROM '$T.dat' WITH DELIMITER='|';" + cqlsh -e "COPY authz.${T/.dat/} FROM '$T' WITH DELIMITER='|';" fi done cd $DIR #rm -Rf dats + |