Skip to content

Commit 253575b

Browse files
committed
Add jexec wrapper
1 parent 9b293cb commit 253575b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/lejos/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ for exe in `ls`; do
3939
ln -s "wrapper.sh" "$exe"
4040
done
4141

42-
cp "$SCRIPTDIR/lejos/wrapper.sh" .
42+
cd "$LEJOSDIR/jri/lib/"
43+
mv "jexec" "jexec.real"
44+
ln -s "wrapper.sh" "jexec"
45+
46+
cp "$SCRIPTDIR/lejos/wrapper.sh" "$LEJOSDIR/jri/bin"
47+
cp "$SCRIPTDIR/lejos/wrapper.sh" "$LEJOSDIR/jri/lib"
4348

4449
echo "cleanup"
4550
rm -rf "$LEJOSDIR/deb"

0 commit comments

Comments
 (0)