tools/target_dec_fate.sh: Add support for lines that are comments

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2019-02-21 22:12:10 +01:00
parent 4801eea0d4
commit b7140a4db5
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,8 @@ while read -r LINE; do
FILE=`echo $LINE | sed 's# .*##'`
if test -f "$1/$FILE" ; then
echo exists $FILE
elif echo "$ISSUE_NUM" | grep '#' >/dev/null ; then
echo disabled $FILE
else
echo downloading $FILE
mkdir -p "$1/$ISSUE_NUM"
@ -72,6 +74,9 @@ make -j4 $TOOLS
while read -r LINE; do
TOOL_ID=`echo $LINE | sed 's#[^ ]* ##'`
FILE=`echo $LINE | sed 's# .*##'`
if ! test -f "$1/$FILE" ; then
continue
fi
tools/$TOOL_ID $1/$FILE
done < "tools/$LIST"