mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
Build: Force CRLF error
This commit is contained in:
parent
54b87370e2
commit
e2b9aeb6dd
@ -23,6 +23,11 @@ updaterepo() {
|
||||
fi
|
||||
pushd "$2" >/dev/null
|
||||
git pull
|
||||
sym=$(find . -not -type d -exec file "{}" ";" | grep CRLF)
|
||||
if [ "${sym}" != "" ]; then
|
||||
echo "Repository $1 named $2 contains CRLF line endings"
|
||||
exit 1
|
||||
fi
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
@ -136,6 +141,12 @@ fi
|
||||
|
||||
if [ ! -f UDK/UDK.ready ]; then
|
||||
rm -rf UDK
|
||||
|
||||
sym=$(find . -not -type d -exec file "{}" ";" | grep CRLF)
|
||||
if [ "${sym}" != "" ]; then
|
||||
echo "Repository CRLF line endings"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
updaterepo "https://github.com/tianocore/edk2" UDK UDK2018 || exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user