scripts: Fix multiple shellcheck warnings

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8564 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-08-25 22:51:57 +00:00
parent ee24c6bab2
commit c205138e87
8 changed files with 47 additions and 41 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ list_source_files() {
grep -vE '^[D?]|^Performing|^$' | \
cut -c3- | \
while read -r a b c f; do
if [ -f "$f" -o -h "$f" ]; then
if [ -f "$f" ] || [ -h "$f" ]; then
echo "$a $b $c" >/dev/null
echo "$f"
fi
@@ -39,7 +39,7 @@ list_source_files() {
hg manifest
fi
else
( cd "$d" && find -type f -o -type l | sed 's|^\./||' )
( cd "$d" && find . -type f -o -type l | sed 's|^\./||' )
fi
}