]> git.donarmstrong.com Git - dak.git/commitdiff
build experimental directory tree
authorMark Hymers <mhy@debian.org>
Sat, 5 Dec 2009 22:52:32 +0000 (22:52 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 5 Dec 2009 22:52:32 +0000 (22:52 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
config/debian/common

index 8aa05a48a0e6a1097ac853244c30ce3d231cbf49..212d84ad4b07adc456e76580bebcf9a74b779093 100644 (file)
@@ -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.