]> git.donarmstrong.com Git - cran2deb.git/commitdiff
ctv: make CRAN task view mass building work again.
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:19:15 +0000 (13:19 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:19:15 +0000 (13:19 +0000)
this just means you can now do:
$ cran2deb build_ctv
to build every task view, whereas previously the code had not
be adapted to use the cran2deb wrapper script.

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@65 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

pkg/trunk/exec/cran_pkgs [new file with mode: 0755]
pkg/trunk/exec/cranpkgs [deleted file]

diff --git a/pkg/trunk/exec/cran_pkgs b/pkg/trunk/exec/cran_pkgs
new file mode 100755 (executable)
index 0000000..ba9e727
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/env r
+
+library(cran2deb)
+
+if (length(argv) == 0) {
+    writeLines(sample(dimnames(available)[[1]],800))
+    #writeLines(dimnames(available)[[1]])
+} else {
+    if (argv[1] == 'query') {
+        for (ctv in ctv.available) {
+            writeLines(ctv$name)
+        }
+        q(save='no')
+    }
+    # list of task lists
+    for (ctv in ctv.available) {
+        if (ctv$name %in% argv) {
+            writeLines(ctv$packagelist$name)
+        }
+    }
+}
diff --git a/pkg/trunk/exec/cranpkgs b/pkg/trunk/exec/cranpkgs
deleted file mode 100755 (executable)
index ba9e727..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env r
-
-library(cran2deb)
-
-if (length(argv) == 0) {
-    writeLines(sample(dimnames(available)[[1]],800))
-    #writeLines(dimnames(available)[[1]])
-} else {
-    if (argv[1] == 'query') {
-        for (ctv in ctv.available) {
-            writeLines(ctv$name)
-        }
-        q(save='no')
-    }
-    # list of task lists
-    for (ctv in ctv.available) {
-        if (ctv$name %in% argv) {
-            writeLines(ctv$packagelist$name)
-        }
-    }
-}