From 44d42713a2aadc863cae77b2ce5b159fc5b4a439 Mon Sep 17 00:00:00 2001 From: Florian Angerer <florian.angerer@oracle.com> Date: Mon, 18 Dec 2017 11:15:59 +0100 Subject: [PATCH] Configure zip to not prompt for user input. --- com.oracle.truffle.r.test.packages/r/install.cache.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.oracle.truffle.r.test.packages/r/install.cache.R b/com.oracle.truffle.r.test.packages/r/install.cache.R index 44acb6c788..cab215a510 100644 --- a/com.oracle.truffle.r.test.packages/r/install.cache.R +++ b/com.oracle.truffle.r.test.packages/r/install.cache.R @@ -88,7 +88,7 @@ pkg.cache.insert <- function(pkg.cache.env, pkgname, lib) { # to produce a TAR with relative paths, we need to change the working dir prev.wd <- getwd() setwd(lib) - if(zip(toPath, pkgname) != 0L) { + if(zip(toPath, pkgname, flags="-r9Xq") != 0L) { log.message("could not compress package dir ", fromPath , " and store it to ", toPath, level=1) return (FALSE) } -- GitLab