Skip to content

Commit c6d1baa

Browse files
author
David A. Mellis
committed
Fixing up some Linux stuff.
1 parent 00a9f99 commit c6d1baa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314

315315
<target name="linux-run" depends="linux-build"
316316
description="Run Linux version">
317-
<exec executable="./arduino" dir="linux/work" spawn="false"/>
317+
<exec executable="./linux/work/arduino" spawn="false"/>
318318
</target>
319319

320320
<target name="linux-dist" depends="linux-build"

build/linux/dist/arduino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ for LIB in \
1010
lib/*.jar \
1111
;
1212
do
13-
CLASSPATH="${CLASSPATH}:${APPDIR}/${LIB}"
13+
CLASSPATH="${CLASSPATH}:${LIB}"
1414
done
1515
export CLASSPATH
1616

17-
LD_LIBRARY_PATH=`pwd`/lib:${LD_LIBRARY_PATH}
17+
LD_LIBRARY_PATH=`pwd`/lib:/usr/lib/jni${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
1818
export LD_LIBRARY_PATH
1919

2020
export PATH="${APPDIR}/java/bin:${PATH}"

0 commit comments

Comments
 (0)