Skip to content

Commit

Permalink
Fix variable name in run-container.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemaz committed Jan 22, 2024
1 parent ce1cc85 commit eae0d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ case "$(uname -s)" in
;;
Linux*) # Linux
READLINK="readlink"
LAUNCHER="nix"
LAUNCHER="gitbash"
;;
CYGWIN*|MINGW32*|MSYS*|MINGW*) # Windows
READLINK="readlink"
Expand Down Expand Up @@ -111,7 +111,7 @@ if [[ "${LAUNCHER}" == "gitbash" ]]; then
winpty docker run --rm -d -p 8787:8787 -e PASSWORD=password \
--name geospaar_rstudio \
-v /$PWD:/home/rstudio/ \
-v /$PWD/r_$VER_packages:/packages \
-v /$PWD/r_$ver_packages:/packages \
-v /$PWD/geospaar/$prefs:/home/rstudio/.config/rstudio/$prefs \
-v /$PWD/geospaar/.Rprofile:/home/rstudio/.Rprofile:rw \
$rstudio_image
Expand Down

0 comments on commit eae0d19

Please sign in to comment.