summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-26 02:18:31 -0500
committerJeff Carr <[email protected]>2025-09-26 02:18:31 -0500
commit7a6a5a2582f2926a1a9f806b113bc4a54d4a34f5 (patch)
tree306f5bdce9afeb8d375835028e715445abfabf36
parent00d9cbf64f2daf1fa03d026a312cd4fdbb29548d (diff)
remove ENV stuffv0.0.74v0.0.73
-rw-r--r--go-clone-test/main.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/go-clone-test/main.go b/go-clone-test/main.go
index 464b4e3..80d5064 100644
--- a/go-clone-test/main.go
+++ b/go-clone-test/main.go
@@ -67,8 +67,6 @@ func fullRun(testDir string) {
testDir = "goclonetest"
os.Mkdir(testDir, 0755)
os.Chdir(testDir)
- os.Unsetenv("FORGE_CONFIG")
- os.Unsetenv("FORGE_GOSRC")
me.forge = forgepb.Init()
wd := filepath.Join(me.startPwd, testDir)
@@ -102,16 +100,12 @@ func prepBinary(testDir string, gopath string) {
// switching GOSRC paths in the middle of doing things? It probably
// shouldn't be supported or work the way it does. which, in this
// case, breaks this test app
- os.Unsetenv("FORGE_CONFIG")
- os.Unsetenv("FORGE_GOSRC")
runStrict(wd, []string{"sync"})
runStrict(wd, []string{"/home/jcarr/go/bin/go-clone", "--recursive", gopath, "--work", "--ignore"})
// runStrict(wd, []string{"/home/jcarr/go/bin/go-clone", "--work"})
}
func buildBinary(testDir string, gopath string) {
- os.Unsetenv("FORGE_CONFIG")
- os.Unsetenv("FORGE_GOSRC")
me.forge = forgepb.Init()
if err := me.forge.ConfigSave(); err != nil {
log.Info("crapnuts. forge.ConfigSave() failed", err)