From: Mark Hymers Date: Sat, 5 Dec 2009 22:52:32 +0000 (+0000) Subject: build experimental directory tree X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec5b13fa418fad2a5b85070718a4c771fdc43f8a;p=dak build experimental directory tree Signed-off-by: Mark Hymers --- diff --git a/config/debian/common b/config/debian/common index 8aa05a48..212d84ad 100644 --- a/config/debian/common +++ b/config/debian/common @@ -49,6 +49,15 @@ function make_buildd_dir () { cp -al ${incoming}/buildd/. tree/${STAMP}/ ln -sfT tree/${STAMP} ${incoming}/builddweb find ./tree -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf + + for dist in experimental + do + cd ${incoming}/dists/${dist} + mkdir -p tree/${STAMP} + cp -al ${incoming}/dists/${dist}/buildd/. tree/${STAMP}/ + ln -sfT tree/${STAMP} ${incoming}/dists/${dist}/current + find ./tree -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf + done } # Do the unchecked processing, in case we have files.