Skip to content
Snippets Groups Projects
Commit 686dc1f3 authored by Jordon Bedwell's avatar Jordon Bedwell
Browse files

Quote the UID/GID

parent dc40972c
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,8 @@ export JEKYLL_GID ...@@ -25,8 +25,8 @@ export JEKYLL_GID
# behavior on OS X. # behavior on OS X.
# #
if [ "$JEKYLL_UID" != "0" ] && [ "$JEKYLL_UID" != "$(id -u jekyll)" ]; then if [ "$JEKYLL_UID" != "0" ] && [ "$JEKYLL_UID" != "$(id -u jekyll)" ]; then
usermod -u $JEKYLL_UID jekyll usermod -u "$JEKYLL_UID" jekyll
groupmod -g $JEKYLL_GID jekyll groupmod -g "$JEKYLL_GID" jekyll
chown_args="" chown_args=""
[ "$FULL_CHOWN" ] && chown_args="-R" [ "$FULL_CHOWN" ] && chown_args="-R"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment