Skip to content

Commit de80e79

Browse files
steve-sansalond
authored andcommitted
Fix: configure_fastr works when invoked with relative path
(cherry picked from commit 46c4d04)
1 parent c15ea6c commit de80e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.oracle.truffle.r.native/run/configure_fastr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ done
4242
./configure --with-x=no --with-aqua=no --enable-memory-profiling FFLAGS=-O2 $@
4343
ed Makeconf < edMakeconf.etc
4444
export R_DEFAULT_PACKAGES=base
45-
R_LIBS_USER=`"$( dirname "$source" )/../bin/R" --slave -e 'cat(path.expand(Sys.getenv("R_LIBS_USER")))'`
45+
R_LIBS_USER=`../bin/R --slave -e 'cat(path.expand(Sys.getenv("R_LIBS_USER")))'`
4646
echo "Creating user specific library directory: $R_LIBS_USER"
4747
mkdir -p "$R_LIBS_USER"
4848
echo "DONE"

0 commit comments

Comments
 (0)