Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Fixup the fixup_path()
Browse files Browse the repository at this point in the history
  • Loading branch information
sygibson committed Sep 13, 2018
1 parent da77e04 commit 1c236a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/templates/setup.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function fixup_path() {
do
mkdir -p $_add_path
# inject colons to avoid partial match failures
grep -q ":$_add_path" <<< ":$FOO:" || export FOO="$FOO:$_add_path"
grep -q ":$_add_path" <<< ":$PATH:" || export PATH="$PATH:$_add_path"
done
}

Expand Down

0 comments on commit 1c236a4

Please sign in to comment.