Ubuntu Pastebin

Paste from Michael Hudson-Doyle at Thu, 13 Apr 2017 00:15:51 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
(master)mwhudson@aeglos:/opt/opensource/gopath/src/github.com/snapcore/snapd$ cat /opt/opensource/go-test-cases/tmpdir.go
package main

import (
	"fmt"
	"os"
)

func main() {
	fmt.Printf("%q\n", os.Getenv("TMPDIR"))
}
(master)mwhudson@aeglos:/opt/opensource/gopath/src/github.com/snapcore/snapd$ TMPDIR=/tmp go run /opt/opensource/go-test-cases/tmpdir.go"/tmp"
(master)mwhudson@aeglos:/opt/opensource/gopath/src/github.com/snapcore/snapd$ TMPDIR=/tmp /snap/bin/go run /opt/opensource/go-test-cases/tmpdir.go
""
Download as text