Commit abcbbdcf authored by j38560's avatar j38560

Fixed directory check

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