You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-12-01 23:02:43 +02:00
12 lines
192 B
Go
12 lines
192 B
Go
|
|
// +build !windows
|
||
|
|
|
||
|
|
package cmd
|
||
|
|
|
||
|
|
import "syscall"
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
// unset umask otherwise permissions on file or directory
|
||
|
|
// creation are altered in unpredictable ways.
|
||
|
|
syscall.Umask(0)
|
||
|
|
}
|