[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, master, updated. 148332ef45997ba3aaf38cc2c9a28441083bad49

Andreas Beckmann debian at abeckmann.de
Fri Dec 23 10:24:13 UTC 2011


The following commit has been merged in the master branch:
commit 41ca157b592dc0e0bb3b939915b7accea4a9c724
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Nov 28 12:33:16 2011 +0100

    create output dir
    
    ensure that the output directory exists (may be missing the first
    time this is being run for a new section)
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/home/piupartsm/bin/detect_well_known_errors b/home/piupartsm/bin/detect_well_known_errors
index 50ca99e..555a870 100755
--- a/home/piupartsm/bin/detect_well_known_errors
+++ b/home/piupartsm/bin/detect_well_known_errors
@@ -39,6 +39,7 @@ LOGS=`mktemp`
 # bash has some severe limitations, like no named arrays... :/
 NR=0
 for SECTION in $SECTIONS ; do 
+	mkdir -p $HTDOCS/$SECTION
 	KNOWNLOGS[$NR]=`mktemp`
 	cd $MASTER/$SECTION
 	for problem in `ls ~/bin/known_problems` ; do

-- 
piatti.debian.org configuration files



More information about the Piuparts-commits mailing list