[gimp-web/testing] Introduce DownloadRoot to the wgo_config.py module



commit fa94a24d4c530d259ff0481fdb3e308996ee0984
Author: Michael Schumacher <schumaml gmx de>
Date:   Wed Aug 20 01:23:13 2014 +0200

    Introduce DownloadRoot to the wgo_config.py module

 programmatic/Makefile           |    1 +
 programmatic/downloads/Makefile |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/programmatic/Makefile b/programmatic/Makefile
index b87216f..e8ad6d9 100644
--- a/programmatic/Makefile
+++ b/programmatic/Makefile
@@ -26,6 +26,7 @@ wgo_config.py: Makefile Makefile.defs
         echo "# user_gid=''"                                  ; \
                echo                                                  ; \
         echo "DocumentRoot_path='${DocumentRoot}'"            ; \
+        echo "DownloadRoot_path='${DownloadRoot}'"            ; \
         echo "admin_dir='/admin/'"                            ; \
         echo "admin_path=DocumentRoot_path + admin_dir"       ; \
         echo "includes_dir='/includes/'"                      ; \
diff --git a/programmatic/downloads/Makefile b/programmatic/downloads/Makefile
index ee0efaf..cb0b837 100644
--- a/programmatic/downloads/Makefile
+++ b/programmatic/downloads/Makefile
@@ -20,5 +20,5 @@ install: mirrors.xhtml
        install -m 644 mirrors.xhtml `${PYTHON} -c 'import wgo_config; print 
wgo_config.DocumentRoot_path'`/downloads/mirrors.xhtml
 
 install-download: MIRRORS
-       @if [ ${DownloadRoot}x != "x" ]; then mkdir -p `${PYTHON} -c 'import wgo_config; print 
wgo_config.DownloadRoot_path'`/gimp;
+       @if [ ${DownloadRoot}x != "x" ]; then -mkdir -p `${PYTHON} -c 'import wgo_config; print 
wgo_config.DownloadRoot_path'`/gimp; \
        install -m 644 MIRRORS `${PYTHON} -c 'import wgo_config; print 
wgo_config.DownloadRoot_path'`/gimp/MIRRORS; fi;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]