jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

PATCH: make build/linux/dist/arduino path agnostic #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The shell script used to launch the arduino GUI will not work if called at the 
command line from any path other than the script's parent directory (as in 
/path/to/arduino instead of ./arduino) I think this is worth correcting. This 
also prevents the script from working if you use it for a "launcher icon" on 
the "bar" at the top of Gnome, and that is the real reason why this is 
important to fix. (Pardon me for not knowing the proper Gnome 
terminology for that.)

Thank you for your time.

 ### Patch file attached contains the following: ###
Index: build/linux/dist/arduino
==============================================
=====================
--- build/linux/dist/arduino    (revision 820)
+++ build/linux/dist/arduino    (working copy)
@@ -1,6 +1,7 @@
  #!/bin/sh

 APPDIR="$(dirname -- "${0}")"
+cd $APPDIR

 for LIB in \
     java/lib/rt.jar \

Original issue reported on code.google.com by RichardB...@gmail.com on 29 Dec 2009 at 1:26

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch.  I'm planning to fix this for Arduino 0018.

Original comment by dmel...@gmail.com on 29 Dec 2009 at 5:10