File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -481,22 +481,22 @@ func setup() {
481
481
// We used to use it for C objects.
482
482
// Now we use it for the build cache, to separate dist's cache
483
483
// from any other cache the user might have.
484
- p = pathf ("%s/pkg/obj/go-build" , goroot )
484
+ objGobuild : = pathf ("%s/pkg/obj/go-build" , goroot )
485
485
if rebuildall {
486
- xremoveall (p )
486
+ xremoveall (objGobuild )
487
487
}
488
- xmkdirall (p )
489
- xatexit (func () { xremoveall (p ) })
488
+ xmkdirall (objGobuild )
489
+ xatexit (func () { xremoveall (objGobuild ) })
490
490
491
491
// Create alternate driectory for intermediate
492
492
// standard library .a's to be placed rather than
493
493
// the final build's install locations.
494
- p = pathf ("%s/pkg/obj/go-bootstrap" , goroot )
494
+ objGoBootstrap : = pathf ("%s/pkg/obj/go-bootstrap" , goroot )
495
495
if rebuildall {
496
- xremoveall (p )
496
+ xremoveall (objGoBootstrap )
497
497
}
498
- xmkdirall (p )
499
- xatexit (func () { xremoveall (p ) })
498
+ xmkdirall (objGoBootstrap )
499
+ xatexit (func () { xremoveall (objGoBootstrap ) })
500
500
501
501
// Create tool directory.
502
502
// We keep it in pkg/, just like the object directory above.
You can’t perform that action at this time.
0 commit comments