Skip to content

Commit

Permalink
Unset fallback LIBPATH envar for Mac installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Dec 13, 2019
1 parent 89989f0 commit a9f8ca4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: basilisk
Version: 0.99.4
Version: 0.99.5
Date: 2019-12-12
Title: Freezing Python Versions Inside Bioconductor Packages
Authors@R: c(person("Aaron", "Lun", role=c("aut", "cre", "cph"),
Expand Down
7 changes: 3 additions & 4 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@
file.symlink(dest_path2, dest_path)
} else {
tmploc <- .expedient_download(file.path(base_url, inst_file))
inst_args <- sprintf(" %s -b -p %s", tmploc, dest_path)

if (os=="macosx") {
# NOTE: another hack to check why Anaconda doesn't want to install on a mac.
inst_args <- sprintf(" %s -b", tmploc)
system(paste("unset DYLD_FALLBACK_LIBRARY_PATH; bash", inst_args))
} else {
inst_args <- sprintf(" %s -b -p %s", tmploc, dest_path)
system2("bash", inst_args)
}
system2("bash", inst_args)
}
}

Expand Down

0 comments on commit a9f8ca4

Please sign in to comment.