Skip to content

Commit

Permalink
installer tweaks
Browse files Browse the repository at this point in the history
tell when PATH points at us
  • Loading branch information
mcast committed Feb 20, 2017
1 parent b703433 commit 8638e45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.sh
Expand Up @@ -12,6 +12,7 @@ do_inst() {
fi

ln -snv "$src/bin" "$dest/,git-yacontrib"
git config plumbed-in-from.PATH "$dest/,git-yacontrib" # my suggested convention
for leaf in $( cat "$src/$instand" ); do
ln -snv ",git-yacontrib/$leaf" "$dest"
done
Expand All @@ -25,6 +26,8 @@ show_skipped() {
<( find bin -type f -printf "%f\n" | LC_ALL=C sort )
}

unset CDPATH
cd "$( dirname "$0" )"
case "$1" in
-y) do_inst "$2" install.txt ;;
-yS) do_inst "$2" install-scary.txt ;;
Expand Down

0 comments on commit 8638e45

Please sign in to comment.