Skip to content

Commit

Permalink
Fix directory creation (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
bilde2910 committed Dec 7, 2019
1 parent a1564ec commit 925b7b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/pre_build
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ cp /usr/bin/qemu-*-static .
# Enable Docker CLI experimental mode
CONFPATH=~/.docker/config.json
if ! [ -f "$CONFPATH" ]; then
if ! [ -d "~/.docker" ]; then
mkdir -p "~/.docker"
if ! [ -d ~/.docker ]; then
mkdir -pv ~/.docker
fi
jq -n '.experimental="enabled"' > "$CONFPATH"
else
Expand Down

0 comments on commit 925b7b8

Please sign in to comment.