Skip to content

Commit

Permalink
Fix workspaceroot test
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthab committed Mar 24, 2021
1 parent 2332d5c commit d964c62
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/scripts/check.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@ TMP_HOME="/tmp/bazel/R/home"
mkdir -p "${TMP_HOME}"
export HOME="${TMP_HOME}"

ln -s {pkg_src_archive} {pkg_name}.tar.gz
exec {R} CMD check {check_args} {pkg_name}.tar.gz
if [[ "{pkg_src_archive}" != "{pkg_name}.tar.gz" ]]; then
ln -s "{pkg_src_archive}" "{pkg_name}.tar.gz"
fi
exec {R} CMD check {check_args} "{pkg_name}.tar.gz"

0 comments on commit d964c62

Please sign in to comment.