Skip to content

Commit 2d4221a

Browse files
committed
Fix Makefile
Chown should own the .html files, not .org. Because Docker run as root by default, so the files will be created as root as well. This behavior is not intended.
1 parent f9c07ad commit 2d4221a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ shell:
2222
%.html: %.org
2323
@printf $(STATUS_PREFIX); echo "COMPILING: $< -> $*.html"
2424
@$(DOCKER_RUN) $(DOCKER_IMG) $< $(EMACS_FLAGS) -f org-html-export-to-html
25-
@$(DOCKER_RUN) --entrypoint=/bin/chown $(DOCKER_IMG) $(USER) "$*.org"
25+
@$(DOCKER_RUN) --entrypoint=/bin/chown $(DOCKER_IMG) $(USER) "$*.html"
2626

2727
clean:
2828
rm -rf *.html

0 commit comments

Comments
 (0)