]> git.donarmstrong.com Git - cran2deb.git/commitdiff
check for .tar.gz in mini-dinstall archive not in pbuilder archive (oops)
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 16 May 2009 12:59:21 +0000 (12:59 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 16 May 2009 12:59:21 +0000 (12:59 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@235 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

trunk/R/build.R

index fead6d8640e03b7d37f5cf330cfda4ea25b2dd8d..6e8f5e54f9c402254d68f475062a6638998c3292 100644 (file)
@@ -45,10 +45,11 @@ build <- function(name,extra_deps,force=F) {
         # wait for mini-dinstall to get to work
         upload_success = FALSE
         for (i in seq(1,12)) {
-            if (file.exists(file.path(pbuilder_results, paste(pkg$srcname, '_', pkg$version, '.orig.tar.gz', sep='')))) {
+            if (file.exists(file.path(dinstall_archive,'testing','source',paste(pkg$srcname, '_', pkg$version, '.orig.tar.gz', sep='')))) {
                 upload_success = TRUE
                 break
             }
+            warn(i,'/12: does not exist',file.path(dinstall_archive,which_system,'testing','source',paste(pkg$srcname, '_', pkg$version, '.orig.tar.gz', sep='')))
             Sys.sleep(5)
         }
         if (!upload_success) {