Skip to content

Commit b89e659

Browse files
committed
Tolerate not having a config dir mounted
1 parent b1fb95b commit b89e659

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

entrypoint.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ DOIT="${2}"
1313
# Change to config directory, so relative paths will work.
1414
cd "$(dirname "${CONFIG_PATH}")" || echo "INFO: Cannot cd to $(dirname "${CONFIG_PATH}")."
1515

16-
# If $CONFIG_PATH is not in a Git repository, fail.
17-
if ! git rev-parse --show-toplevel >/dev/null 2>&1; then
18-
echo "FAIL: Did not find your config repository."
19-
exit 1
20-
fi
21-
2216
# Get octodns, if it's not already there.
2317
if ! git rev-parse --resolve-git-dir /octodns/.git >/dev/null 2>&1; then
2418
git clone --branch v0.9.9 --depth 1 \

0 commit comments

Comments
 (0)