Skip to content

Commit

Permalink
Prepend newline in profile path section.
Browse files Browse the repository at this point in the history
  • Loading branch information
udhos committed Aug 28, 2022
1 parent 14505fc commit 33a0f7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion update-golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ default_goroot=/usr/local/go

profile_path_add() {
profile_path_remove
{ echo "# DO NOT EDIT: installed by $path_mark"; echo ""; } >> "$abs_profiled"
{ echo; echo "# DO NOT EDIT: installed by $path_mark"; echo ""; } >> "$abs_profiled"

msg profile_path_add: issuing new "$abs_gobin" to "$abs_profiled"
{ echo 'if ! echo "$PATH" | grep -Eq "(^|:)'"$abs_gobin"'($|:)"';
Expand Down
2 changes: 1 addition & 1 deletion update-golang.sh.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
907f142b15c6a12a48ae2d2fad361437da4d2b68aeff177b35e234ad68c2d30c update-golang.sh
d88fb9dfe8bf06b70dfbcda7a7c541350f987100989e4aca0ebc8f2268590a63 update-golang.sh

0 comments on commit 33a0f7a

Please sign in to comment.