Skip to content

Commit

Permalink
Avoid calling the wrapper-script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Sep 13, 2024
1 parent 3411849 commit 1bd6a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addRStudio
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ elif [ -z "$OUTPUT" -o -f "$OUTPUT" ]; then
help "No output image file specified or file already exists.";
fi;

declare version="$(R -e "R.version" -s)";
declare version="$(/software/singularity/3.11.4/bin/singularity run "$BASE" R -e "R.version" -s 2> /dev/null)";
declare major="$(echo "$version" | grep "^major" | sed -e 's/^[^ ]* *//' -e 's/ *$//')";
declare minor="$(echo "$version" | grep "^minor" | sed -e 's/^[^ ]* *//' -e 's/ *$//')";

Expand Down

0 comments on commit 1bd6a6d

Please sign in to comment.