Commit a15af471 authored by j38560's avatar j38560

Added basic loop for running table scripts.

parent 385243a2
#!/bin/bash
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $ROOT/set_env.sh
source $ROOT/functions.sh
echo "Running
runRemoteSQL $ROOT/../source/setup.sql
if [ -f $ROOT/../source/tables/ ]; then
for f in $ROOT/../source/tables/
do
runRemoteSQL "$f"
done
else
echo "No table scripts found"
fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment