Add quote for path
This commit is contained in:
parent
b5356568d5
commit
740248f18b
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# https://github.com/pi-hole/docker-pi-hole/blob/master/README.md
|
# https://github.com/pi-hole/docker-pi-hole/blob/master/README.md
|
||||||
|
|
||||||
PIHOLE_BASE=${PIHOLE_BASE:-$(pwd)}
|
PIHOLE_BASE="${PIHOLE_BASE:-$(pwd)}"
|
||||||
[[ -d "$PIHOLE_BASE" ]] || mkdir -p "$PIHOLE_BASE" || { echo "Couldn't create storage directory: $PIHOLE_BASE"; exit 1; }
|
[[ -d "$PIHOLE_BASE" ]] || mkdir -p "$PIHOLE_BASE" || { echo "Couldn't create storage directory: $PIHOLE_BASE"; exit 1; }
|
||||||
|
|
||||||
docker run -d \
|
docker run -d \
|
||||||
|
|
Loading…
Reference in New Issue