[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] fixup 8e978f69: reproducible Debian: create target directory if it doesnt exist
    Holger Levsen 
    gitlab at salsa.debian.org
       
    Thu Feb 27 00:04:23 GMT 2020
    
    
  
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
9643de81 by Holger Levsen at 2020-02-27T01:04:10+01:00
fixup 8e978f69: reproducible Debian: create target directory if it doesnt exist
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_common.sh
Changes:
=====================================
bin/reproducible_common.sh
=====================================
@@ -584,8 +584,8 @@ publish_page() {
 		TARGET=$PAGE
 	else
 		TARGET=$1/$PAGE
-		mkdir -p $TARGET
 	fi
+	mkdir -p $(dirname $BASE/$TARGET)
 	echo "$(date -u) - $(cp -v $PAGE $BASE/$TARGET)"
 	rm $PAGE
 	echo "$(date -u) - enjoy $REPRODUCIBLE_URL/$TARGET"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/9643de81f3ffcd18cf02e866997baf1f6811d07d
-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/9643de81f3ffcd18cf02e866997baf1f6811d07d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200227/de3c13e4/attachment.html>
    
    
More information about the Qa-jenkins-scm
mailing list