Build: Replace "~/hassos-cache" with "$HOME/hassos-cache" (#281)

Build: Replace "~/hassos-cache" with "$HOME/hassos-cache"
This commit is contained in:
Justin Otherguy 2018-12-10 23:54:50 +01:00 committed by Pascal Vizeli
parent 2107a6b64d
commit 42c2f88588

View File

@ -2,4 +2,4 @@
modprobe overlayfs
docker build -t hassbuildroot .
docker run -it --rm --privileged -v "$(pwd):/build" -v "${CACHE_DIR:=~/hassos-cache}:/cache" hassbuildroot bash
docker run -it --rm --privileged -v "$(pwd):/build" -v "${CACHE_DIR:=$HOME/hassos-cache}:/cache" hassbuildroot bash