telodendria/tools/env.sh

19 lines
413 B
Bash
Raw Normal View History

2022-07-30 13:37:08 +00:00
#!/usr/bin/env sh
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)"
2022-07-30 13:37:08 +00:00
chmod +x "$tool"
done
if which makewhatis 2>&1 > /dev/null; then
makewhatis "$(pwd)/man"
fi
export PATH="$(pwd)/tools/bin:$PATH"
export MANPATH="$(pwd)/man:$MANPATH"