Commit 78bf7d6e authored by Michael Schumacher's avatar Michael Schumacher

Make the mirrors script find the wgo_config module, and prevent errors if /downloads exists already

parent 989b0014
include ../Makefile.defs
.PHONY: all install
.PHONY: all clean install
PYTHONPATH := ../
all: mirrors.xhtml
......@@ -11,5 +13,5 @@ clean:
/bin/rm -f mirrors.xhtml
install: mirrors.xhtml
-mkdir `${PYTHON} -c 'import wgo_config; print wgo_config.DocumentRoot_path'`/downloads
-mkdir -p `${PYTHON} -c 'import wgo_config; print wgo_config.DocumentRoot_path'`/downloads
install -m 644 mirrors.xhtml `${PYTHON} -c 'import wgo_config; print wgo_config.DocumentRoot_path'`/downloads/mirrors.xhtml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment