From d0c860b7cc7670a1d5dcf8810b0759d8e9a6d0b7 Mon Sep 17 00:00:00 2001 From: Graeme Blair Date: Sun, 30 Apr 2017 10:16:16 -0700 Subject: [PATCH] windows --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index f9fbc91..cfa37a0 100644 --- a/deploy.sh +++ b/deploy.sh @@ -18,7 +18,8 @@ addToDrat(){ git fetch upstream 2>err.txt git checkout master - Rscript -e "for(pkg in dir('..', pattern = ifelse(.Platform$OS.type == 'windows', '.zip', '.t*z')) { drat::insertPackage(paste0('../', pkg), \ + Rscript -e "for(pkg in dir('..', pattern = ifelse(.Platform$OS.type == 'windows', '.zip', '.t*z'))) { \ + drat::insertPackage(paste0(ifelse(.Platform$OS.type == 'windows', '..\\', '../', pkg)), \ repodir = '.', \ commit='Travis update ${APPVEYOR_PROJECT_NAME:-$PKG_REPO} build ${APPVEYOR_REPO_COMMIT:-$TRAVIS_COMMIT}', branch = 'master') }"