Quote paths in Makefile
If there's a filename containing a space, this quoting helps the command come out right.
This commit is contained in:
		
							parent
							
								
									6d0db84674
								
							
						
					
					
						commit
						cff1741971
					
				
							
								
								
									
										4
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										4
									
								
								Makefile
								
								
								
								
							|  | @ -9,7 +9,7 @@ CONTAINER_ENGINE ?= docker | ||||||
| IMAGE_REGISTRY ?= gcr.io/k8s-staging-sig-docs | IMAGE_REGISTRY ?= gcr.io/k8s-staging-sig-docs | ||||||
| IMAGE_VERSION=$(shell scripts/hash-files.sh Dockerfile Makefile | cut -c 1-12) | IMAGE_VERSION=$(shell scripts/hash-files.sh Dockerfile Makefile | cut -c 1-12) | ||||||
| CONTAINER_IMAGE   = $(IMAGE_REGISTRY)/k8s-website-hugo:v$(HUGO_VERSION)-$(IMAGE_VERSION) | CONTAINER_IMAGE   = $(IMAGE_REGISTRY)/k8s-website-hugo:v$(HUGO_VERSION)-$(IMAGE_VERSION) | ||||||
| CONTAINER_RUN     = $(CONTAINER_ENGINE) run --rm --interactive --tty --volume $(CURDIR):/src | CONTAINER_RUN     = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src" | ||||||
| 
 | 
 | ||||||
| CCRED=\033[0;31m | CCRED=\033[0;31m | ||||||
| CCEND=\033[0m | CCEND=\033[0m | ||||||
|  | @ -95,7 +95,7 @@ docker-internal-linkcheck: | ||||||
| 
 | 
 | ||||||
| container-internal-linkcheck: link-checker-image-pull | container-internal-linkcheck: link-checker-image-pull | ||||||
| 	$(CONTAINER_RUN) $(CONTAINER_IMAGE) hugo --config config.toml,linkcheck-config.toml --buildFuture --environment test | 	$(CONTAINER_RUN) $(CONTAINER_IMAGE) hugo --config config.toml,linkcheck-config.toml --buildFuture --environment test | ||||||
| 	$(CONTAINER_ENGINE) run --mount type=bind,source=$(CURDIR),target=/test --rm wjdp/htmltest htmltest | 	$(CONTAINER_ENGINE) run --mount "type=bind,source=$(CURDIR),target=/test" --rm wjdp/htmltest htmltest | ||||||
| 
 | 
 | ||||||
| clean-api-reference: ## Clean all directories in API reference directory, preserve _index.md
 | clean-api-reference: ## Clean all directories in API reference directory, preserve _index.md
 | ||||||
| 	rm -rf content/en/docs/reference/kubernetes-api/*/ | 	rm -rf content/en/docs/reference/kubernetes-api/*/ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue