forked from Telodendria/Telodendria
We're building up some tools; let's print them out in env.sh
This commit is contained in:
parent
3faee8b432
commit
d81e8f3a32
1 changed files with 9 additions and 2 deletions
|
@ -1,10 +1,17 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
find tools/bin -type f | while IFS= read -r tool; do
|
echo "Telodendria Development Environment"
|
||||||
|
echo "-----------------------------------"
|
||||||
|
echo
|
||||||
|
echo "Tools available:"
|
||||||
|
find tools/bin -type f -not -path '*/CVS/*' | while IFS= read -r tool; do
|
||||||
|
echo "- $(basename $tool)"
|
||||||
chmod +x "$tool"
|
chmod +x "$tool"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if which makewhatis 2>&1 > /dev/null; then
|
||||||
makewhatis "$(pwd)/man"
|
makewhatis "$(pwd)/man"
|
||||||
|
fi
|
||||||
|
|
||||||
export PATH="$(pwd)/tools/bin:$PATH"
|
export PATH="$(pwd)/tools/bin:$PATH"
|
||||||
export MANPATH="$(pwd)/man:$MANPATH"
|
export MANPATH="$(pwd)/man:$MANPATH"
|
||||||
|
|
Loading…
Reference in a new issue