forked from Telodendria/Telodendria
Apparently some shells interpret the - in a string as an argument delimiter???
This commit is contained in:
parent
ca053a12b1
commit
7344d4fa46
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ echo "-----------------------------------"
|
||||||
echo
|
echo
|
||||||
echo "Tools available:"
|
echo "Tools available:"
|
||||||
find tools/bin -type f | grep -v CVS | grep -v '#' | while IFS= read -r tool; do
|
find tools/bin -type f | grep -v CVS | grep -v '#' | while IFS= read -r tool; do
|
||||||
echo "- $(basename $tool)"
|
echo "* $(basename $tool)"
|
||||||
chmod +x "$tool"
|
chmod +x "$tool"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ missing=0
|
||||||
|
|
||||||
for tool in $(find tools/src -type f -name '*.c'); do
|
for tool in $(find tools/src -type f -name '*.c'); do
|
||||||
base=$(basename "$tool" .c)
|
base=$(basename "$tool" .c)
|
||||||
printf "- $base"
|
printf "* $base"
|
||||||
if [ ! -f "build/tools/$base" ]; then
|
if [ ! -f "build/tools/$base" ]; then
|
||||||
printf ' (missing)'
|
printf ' (missing)'
|
||||||
missing=1
|
missing=1
|
||||||
|
|
Loading…
Reference in a new issue