This isn't bash, mark it as a shell command.

19.10
Simon Quigley 5 years ago
parent 07317bc951
commit c1d74013e4

@ -54,9 +54,9 @@ serverbuild:
#rm -rf ../webroot/pl/ #rm -rf ../webroot/pl/
#mv ../webroot/pl.tmp/ ../webroot/pl/ #mv ../webroot/pl.tmp/ ../webroot/pl/
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD).tmp/
rm -rf /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/ rm -rf /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD)/
mv /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/ /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/ mv /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD).tmp/ /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD)/
.PHONY: clean .PHONY: clean
clean: clean:

Loading…
Cancel
Save