Commit b7140a4d authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4801eea0
...@@ -50,6 +50,8 @@ while read -r LINE; do ...@@ -50,6 +50,8 @@ while read -r LINE; do
FILE=`echo $LINE | sed 's# .*##'` FILE=`echo $LINE | sed 's# .*##'`
if test -f "$1/$FILE" ; then if test -f "$1/$FILE" ; then
echo exists $FILE echo exists $FILE
elif echo "$ISSUE_NUM" | grep '#' >/dev/null ; then
echo disabled $FILE
else else
echo downloading $FILE echo downloading $FILE
mkdir -p "$1/$ISSUE_NUM" mkdir -p "$1/$ISSUE_NUM"
...@@ -72,6 +74,9 @@ make -j4 $TOOLS ...@@ -72,6 +74,9 @@ make -j4 $TOOLS
while read -r LINE; do while read -r LINE; do
TOOL_ID=`echo $LINE | sed 's#[^ ]* ##'` TOOL_ID=`echo $LINE | sed 's#[^ ]* ##'`
FILE=`echo $LINE | sed 's# .*##'` FILE=`echo $LINE | sed 's# .*##'`
if ! test -f "$1/$FILE" ; then
continue
fi
tools/$TOOL_ID $1/$FILE tools/$TOOL_ID $1/$FILE
done < "tools/$LIST" done < "tools/$LIST"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment