]> git.donarmstrong.com Git - cran2deb.git/blobdiff - pkg/trunk/R/debcontrol.R
bulk build modifications: regexp tweaks, license/sysreq override additions, drop...
[cran2deb.git] / pkg / trunk / R / debcontrol.R
index f6c14f9dcf8d8483f8960b1baf3833e2236664d2..50bf742dc03139e210a096011cd4d8fc618bdcf0 100644 (file)
@@ -50,6 +50,7 @@ sysreqs_as_debian <- function(sysreq_text) {
     # form of this field is unspecified (ugh) but most people seem to stick
     # with this
     debs <- c()
+    sysreq_text <- gsub('[[:space:]]and[[:space:]]',' , ',tolower(sysreq_text))
     for (sysreq in strsplit(sysreq_text,'[[:space:]]*,[[:space:]]*')[[1]]) {
         startreq = sysreq
         # constant case