about summary refs log tree commit diff
path: root/pkgs/servers/caddy/xcaddy/use_tmpdir_on_darwin.diff
blob: 064d8feb5a05a13a957f31ec87a58aab6c2b9def (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/builder.go b/builder.go
index ed6c5ef..36e8055 100644
--- a/builder.go
+++ b/builder.go
@@ -200,7 +200,7 @@ func NewReplace(old, new string) Replace {
 // It is the caller's responsibility to remove the folder when finished.
 func newTempFolder() (string, error) {
 	var parentDir string
-	if runtime.GOOS == "darwin" {
+	if false && runtime.GOOS == "darwin" {
 		// After upgrading to macOS High Sierra, Caddy builds mysteriously
 		// started missing the embedded version information that -ldflags
 		// was supposed to produce. But it only happened on macOS after