Skip to content

Commit 2900744

Browse files
authored
[skip-changelog] Compile on freebsd (arduino#2116)
Signed-off-by: Luis Colorado <[email protected]>
1 parent 0e29ec5 commit 2900744

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

Diff for: executils/executils_freebsd.go

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// This file is part of arduino-cli.
2+
//
3+
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4+
//
5+
// This software is released under the GNU General Public License version 3,
6+
// which covers the main part of arduino-cli.
7+
// The terms of this license can be found at:
8+
// https://www.gnu.org/licenses/gpl-3.0.en.html
9+
//
10+
// You can be released from the requirements of the above licenses by purchasing
11+
// a commercial license. Buying such a license is mandatory if you want to
12+
// modify or otherwise use the software for commercial activities involving the
13+
// Arduino software without disclosing the source code of your own applications.
14+
// To purchase a commercial license, send an email to [email protected].
15+
16+
package executils
17+
18+
import "os/exec"
19+
20+
func tellCommandNotToSpawnShell(_ *exec.Cmd) {
21+
}

Diff for: i18n/detect_freebsd.go

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// This file is part of arduino-cli.
2+
//
3+
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4+
//
5+
// This software is released under the GNU General Public License version 3,
6+
// which covers the main part of arduino-cli.
7+
// The terms of this license can be found at:
8+
// https://www.gnu.org/licenses/gpl-3.0.en.html
9+
//
10+
// You can be released from the requirements of the above licenses by purchasing
11+
// a commercial license. Buying such a license is mandatory if you want to
12+
// modify or otherwise use the software for commercial activities involving the
13+
// Arduino software without disclosing the source code of your own applications.
14+
// To purchase a commercial license, send an email to [email protected].
15+
16+
package i18n
17+
18+
func getLocaleIdentifier() string {
19+
return getLocaleIdentifierFromEnv()
20+
}

0 commit comments

Comments
 (0)