From 80325b6549f89ccb0752d8745a1c91cbb2cb4b92 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 27 Nov 2020 02:49:04 -0700 Subject: [PATCH] fix error in sql-import search path --- .vscode/numbered-bookmarks.json | 18 +----------------- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.vscode/numbered-bookmarks.json b/.vscode/numbered-bookmarks.json index 8b3ba35..4c08963 100644 --- a/.vscode/numbered-bookmarks.json +++ b/.vscode/numbered-bookmarks.json @@ -1,19 +1,3 @@ { - "bookmarks": [ - { - "fsPath": "$ROOTPATH$/entrypoint.sh", - "bookmarks": [ - -1, - -1, - 79, - -1, - -1, - -1, - -1, - -1, - -1, - -1 - ] - } - ] + "bookmarks": [] } \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index f071706..4a6fc1f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -77,7 +77,7 @@ else fi # process supplied SQL files in /docker-entrypoint-initdb.d/*.(sql|sql.gz) -for f in /docker-entrypoint-initdb.d/*.sh; do +for f in /docker-entrypoint-initdb.d/*; do case "$f" in *.sql) if [ -s "$f" ]; then