mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
15 lines
370 B
Diff
15 lines
370 B
Diff
--- main.go.original 2021-06-27 18:46:05.000000000 +0100
|
|||
|
|
+++ main.go 2021-06-27 18:55:34.000000000 +0100
|
||
|
|
@@ -34,10 +34,7 @@
|
||
|
|
const BUG_REPORT_URL = "https://github.com/aaronjanse/3mux/issues"
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
- tmp := os.Getenv("TMPDIR")
|
||
|
|
- if tmp == "" {
|
||
|
|
- tmp = "/tmp"
|
||
|
|
- }
|
||
|
|
+ const tmp = "/tmp"
|
||
|
|
|
||
|
|
threemuxDir = path.Join(tmp, "3mux")
|
||
|
|
os.MkdirAll(threemuxDir, 0700)
|