This is an automated email from the ASF dual-hosted git repository.
gaul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jclouds-site.git
The following commit(s) were added to refs/heads/master by this push:
new 37efc93 Use $(CURDIR) instead of ${PWD}
37efc93 is described below
commit 37efc93be68074fae399e0a63b2bfe8c184997a7
Author: Andrew Gaul <[email protected]>
AuthorDate: Sun Dec 25 13:45:13 2022 +0900
Use $(CURDIR) instead of ${PWD}
The latter may may not be set.
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index e8ba9c5..44fc73e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,11 @@ image: ## Build the Docker image with all requirements to
build and publish the
docker build -t $(IMAGE) .
build: ## Build and run the site locally
- docker run --rm -v "${PWD}:$(MOUNTPOINT)" -p 4000:4000 $(IMAGE) jekyll
serve --safe --port 4000
+ docker run --rm -v "$(CURDIR):$(MOUNTPOINT)" -p 4000:4000 $(IMAGE)
jekyll serve --safe --port 4000
publish: ## Publish the site to https://jclouds.apache.org
rm -rf site-content
- docker run --rm -ti -v "${PWD}:$(MOUNTPOINT)" $(IMAGE) bash
deploy-site.sh
+ docker run --rm -ti -v "$(CURDIR):$(MOUNTPOINT)" $(IMAGE) bash
deploy-site.sh
help: ## Display this help
@awk 'BEGIN {FS = ":.*##"; printf "Usage:\n make
\033[36m<target>\033[0m\n\nAvailable targets:\n"} \