-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
OS: LinuxSpecific to the Linux version of the Arduino IDESpecific to the Linux version of the Arduino IDEfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)
Milestone
Description
!/bin/bash is very bad idea.
In essence some platforms (like *BSD or Solaris) don't have bash in that place so this will cause issues. You instead should use
!/usr/bin/env bash
Also Ubuntu has started a trend of avoiding bash since the standard shell (dash) is faster so it's better to use the more portable /bin/sh when possible. See:
https://wiki.ubuntu.com/DashAsBinSh
I left a suggested patch here:
https://code.google.com/p/arduino/issues/detail?id=1149&thanks=1149&ts=1429478083
Metadata
Metadata
Assignees
Labels
OS: LinuxSpecific to the Linux version of the Arduino IDESpecific to the Linux version of the Arduino IDEfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)