Skip to content

Commit

Permalink
Add $APP_BIN environment variable and append it to $PATH
Browse files Browse the repository at this point in the history
- Set $APP/bin folder as $APP_BIN environment variable.
  $APP_BIN folder is used to store soft links pointing to executable files.
- Append $APP_BIN to $PATH system variable.
  • Loading branch information
huiyifyj committed Mar 30, 2020
1 parent b2adc6d commit 5992be3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions home/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ fi
# $ sudo chown huiyifyj:huiyifyj -R /opt
APP=/opt

# $APP_BIN folder is used to store soft links pointing to executable files
APP_BIN=$APP/bin
export PATH="$APP_BIN:$PATH"

# Go language ENV PATH
GOPATH=$HOME/.go # go get download path
GOROOT=$APP/go
Expand Down

0 comments on commit 5992be3

Please sign in to comment.