remove install files as soon as we're done with them
[webi-installers/.git] / golang / install.bash
index 59ca0f4df08321a2c951a7bb9f464f79912e77e6..caeea6e504ce237f53a4c19850fede71ffa2f758 100644 (file)
@@ -83,6 +83,7 @@ pushd "$WEBI_TMP" 2>&1 >/dev/null
       cp -Hr ./go*/* "$new_go_home/" 2>/dev/null
       cp -Hr ./go*/.* "$new_go_home/" 2>/dev/null
     fi
+    rm -rf ./go*
 
     # Install x go
     $new_go_home/bin/go get golang.org/x/tools/cmd/goimports > /dev/null 2>/dev/null