forked from lda/telodendria
-not is not portable, grep -v should work good enough though.
This commit is contained in:
parent
d517b66316
commit
26b0f33f96
2 changed files with 2 additions and 3 deletions
|
@ -171,7 +171,7 @@ recipe_site() {
|
||||||
DEV_DOCS=$(man-table dev)
|
DEV_DOCS=$(man-table dev)
|
||||||
|
|
||||||
cd site/
|
cd site/
|
||||||
find . -type f -not -path '*/CVS/*' | while IFS= read -r file; do
|
find . -type f | grep -v CVS | while IFS= read -r file; do
|
||||||
dest="$TELODENDRIA_PUB/$file"
|
dest="$TELODENDRIA_PUB/$file"
|
||||||
dir=$(dirname "$dest")
|
dir=$(dirname "$dest")
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ echo "Telodendria Development Environment"
|
||||||
echo "-----------------------------------"
|
echo "-----------------------------------"
|
||||||
echo
|
echo
|
||||||
echo "Tools available:"
|
echo "Tools available:"
|
||||||
find tools/bin -type f -not -path '*/CVS/*' | while IFS= read -r tool; do
|
find tools/bin -type f | grep -v CVS | while IFS= read -r tool; do
|
||||||
echo "- $(basename $tool)"
|
echo "- $(basename $tool)"
|
||||||
chmod +x "$tool"
|
chmod +x "$tool"
|
||||||
done
|
done
|
||||||
|
@ -15,4 +15,3 @@ 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