@echo off

set TMP=C:/TMP
set TEMP=C:/TMP
set TMPDIR=C:/TMP

rem  the main build steps are in a shell-script
sh prebuild.sh 

cd ..
%R_HOME%\bin\rcmd build --force %1 %2 %3 %4 %5 truecluster
cd truecluster