]> git.donarmstrong.com Git - cran2deb.git/blobdiff - pkg/trunk/exec/build
ctv: make CRAN task view mass building work again. (take 2)
[cran2deb.git] / pkg / trunk / exec / build
index a73b10d1dce54a92d0c58ca8b9da41717b3114d9..801f5d6ead2edf9a4bde7028965c462b4d13c6b1 100755 (executable)
@@ -39,9 +39,12 @@ go <- function(name,extra_deps) {
                 message(paste('N: using Debian package of',dep))
                 next
             }
-            message(paste('N: uploading',dep))
+            # otherwise, convert to source package name
+            srcdep = pkgname.as.debian(dep,binary=F)
+
+            message(paste('N: uploading',srcdep))
             ret = system(paste('umask 022;dput','-c',shQuote(dput_config),'local'
-                        ,changesfile(dep)))
+                        ,changesfile(srcdep)))
             if (ret != 0) {
                 stop('upload of dependency failed! maybe you did not build it first?')
             }