projects
/
homepage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e16751b
)
Create out dir only if not existing
master
author
Jakob Fahrner
<jakob.fahrner@student.tugraz.at>
Sat, 14 Sep 2019 20:58:12 +0000
(22:58 +0200)
committer
Jakob Fahrner
<jakob.fahrner@student.tugraz.at>
Sat, 14 Sep 2019 20:58:12 +0000
(22:58 +0200)
jekyll-admin_run.sh
patch
|
blob
|
history
diff --git
a/jekyll-admin_run.sh
b/jekyll-admin_run.sh
index
1be29e4
..
4cc8b5e
100755
(executable)
--- a/
jekyll-admin_run.sh
+++ b/
jekyll-admin_run.sh
@@
-2,5
+2,5
@@
BASE_D=$(realpath "${BASH_SOURCE%/*}/")
JEKYLL_VERSION=3.8
-mkdir "$BASE_D/out"
+mkdir -p "$BASE_D/out"
exec sudo docker run --name realraum-jekyll --rm -it -p 127.0.0.1:4000:4000 --volume="$BASE_D/vendor/bundle:/usr/local/bundle" -v "$BASE_D/src":/srv/jekyll -v "$BASE_D/out":/srv/out jekyll/jekyll:$JEKYLL_VERSION "$@"