fix GOBIN_REAL/bin typo
authorAJ ONeal <coolaj86@gmail.com>
Sun, 14 Jun 2020 08:28:26 +0000 (02:28 -0600)
committerAJ ONeal <coolaj86@gmail.com>
Sun, 14 Jun 2020 08:28:26 +0000 (02:28 -0600)
golang/install.bash

index af3c34e5e2f447c1be64ae7425d1fb4ddcd32ade..017bdc6389789cf2195e27b7aac6579161a91588 100644 (file)
@@ -73,7 +73,7 @@ pkg_link_new_version() {
     # 'GOBIN' is set above to "${HOME}/go"
     # 'GOBIN_REAL' will be "${HOME}/.local/opt/go-bin-v${WEBI_VERSION}"
     rm -rf "$GOBIN"
-    mkdir -p "$GOBIN_REAL"
+    mkdir -p "$GOBIN_REAL/bin"
     ln -s "$GOBIN_REAL" "$GOBIN"
 }