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

Commit

Permalink
Merge pull request #146 from digitalrebar/fixup-fixup
Browse files Browse the repository at this point in the history
Fixup the fixup_path()
  • Loading branch information
galthaus authored Sep 13, 2018
2 parents da77e04 + 1c236a4 commit 11b8fd0
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 11b8fd0

Please sign in to comment.