-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
This is Issue 353 moved from a Google Code project.
Added by 2010年09月20日T10:03:17.000Z by gooc...@top.geek.nz.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Defect, Priority-Medium, Component-Build, OpSys-Linux, Milestone-0022
Original description
Please apply the following patch:
--- arduino-0019/arduino.orig 2010年09月04日 11:43:29.000000000 +1200
+++ arduino-0019/arduino 2010年09月20日 21:30:10.000000000 +1200
@@ -1,6 +1,7 @@
#!/bin/sh
-APPDIR="$(dirname -- "${0}")"
+#APPDIR="$(dirname -- "${0}")"
+APPDIR="$(dirname --
cd $APPDIR
Benefit: The IDE starts up, instead of crashing, when started via a symlink pointing to arduino-0019/arduino
This is needed to be able to install the IDE cleanly by unpacking the distributed tar file into some directory, and placing a symlink in /usr/local/bin pointing to the arduino-00xx/arduino script, like so:
/usr/local/bin/arduino -> ../pckg/arduino/arduino
/usr/local/pckg/arduino/arduino-0019/arduino
This then also solves the $PATH problem.
OS: Linux.
Thanks!