From c730fdbcbda65dffce6393d9c25547533ab62f7a Mon Sep 17 00:00:00 2001
From: Adam Welc <adam.welc@oracle.com>
Date: Fri, 29 May 2015 06:06:32 -0700
Subject: [PATCH] Brought back setting primary suite which simplified remote
 execution setup.

---
 com.oracle.truffle.r.native/run/Rscript_exec.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/com.oracle.truffle.r.native/run/Rscript_exec.sh b/com.oracle.truffle.r.native/run/Rscript_exec.sh
index fab2fc1f0e..950435e34d 100644
--- a/com.oracle.truffle.r.native/run/Rscript_exec.sh
+++ b/com.oracle.truffle.r.native/run/Rscript_exec.sh
@@ -42,4 +42,4 @@ else
     mx=`which mx`
 fi
 
-exec $mx $MX_R_GLOBAL_ARGS Rscript $MX_R_CMD_ARGS "$@"
+exec $mx --primary-suite-path $PRIMARY_PATH $MX_R_GLOBAL_ARGS Rscript $MX_R_CMD_ARGS "$@"
-- 
GitLab