CI: don't git clone git-svn repos

This commit is contained in:
Marcus Hoffmann 2019-02-21 14:08:36 +01:00
parent ee2836cc47
commit f03619945d
No known key found for this signature in database
GPG key ID: ACDF63BC43D5E530

View file

@ -17,7 +17,7 @@ lint:
appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.txt,\1,p' appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.txt,\1,p'
-e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`; -e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`;
export CHANGED="$CHANGED $appid"; export CHANGED="$CHANGED $appid";
grep -q "^Repo *Type\W *git" $f && git -C build clone `sed -n "s,^Repo *:,,p" $f` $appid; grep -q "^Repo *Type\W *git$" $f && git -C build clone `sed -n "s,^Repo *:,,p" $f` $appid;
done; done;
./tools/audit-gradle.py $CHANGED; ./tools/audit-gradle.py $CHANGED;
fi fi