mirror of
https://github.com/rclone/rclone.git
synced 2025-12-18 01:03:14 +00:00
Use a vendor directory for repeatable builds - fixes #816
This is using godep to manage the vendor directory.
This commit is contained in:
15
vendor/github.com/skratchdot/open-golang/open/exec_darwin.go
generated
vendored
Normal file
15
vendor/github.com/skratchdot/open-golang/open/exec_darwin.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// +build darwin
|
||||
|
||||
package open
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func open(input string) *exec.Cmd {
|
||||
return exec.Command("open", input)
|
||||
}
|
||||
|
||||
func openWith(input string, appName string) *exec.Cmd {
|
||||
return exec.Command("open", "-a", appName, input)
|
||||
}
|
||||
Reference in New Issue
Block a user