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') }"