Telodendria/tools/env.sh

12 lines
196 B
Bash
Raw Normal View History

2022-07-30 13:37:08 +00:00
#!/usr/bin/env sh
find tools/bin -type f | while IFS= read -r tool; do
chmod +x "$tool"
done
makewhatis "$(pwd)/man"
export PATH="$(pwd)/tools/bin:$PATH"
export MANPATH="$(pwd)/man:$MANPATH"