20 lines
660 B
Diff
20 lines
660 B
Diff
|
diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino
|
||
|
--- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100
|
||
|
+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100
|
||
|
@@ -8,11 +8,12 @@ for LIB in \
|
||
|
"$APPDIR"/lib/*.jar \
|
||
|
;
|
||
|
do
|
||
|
- CLASSPATH="${CLASSPATH}:${LIB}"
|
||
|
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
|
||
|
done
|
||
|
+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
|
||
|
export CLASSPATH
|
||
|
|
||
|
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||
|
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
|
||
|
export LD_LIBRARY_PATH
|
||
|
|
||
|
export PATH="${APPDIR}/java/bin:${PATH}"
|
||
|
|