Commit abcbbdcf authored by j38560's avatar j38560

Fixed directory check

parent d27ee0b6
......@@ -8,7 +8,7 @@ source $ROOT/functions.sh
runRemoteSQL $ROOT/../source/setup.sql
if [ -f $ROOT/../source/tables/ ]; then
if [ -d $ROOT/../source/tables/ ]; then
for f in $ROOT/../source/tables/
do
runRemoteSQL "$f"
......@@ -17,7 +17,7 @@ else
echo "No table scripts found"
fi
if [ -f $ROOT/../source/fk/ ]; then
if [ -d $ROOT/../source/fk/ ]; then
for f in $ROOT/../source/fk/
do
runRemoteSQL "$f"
......
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