pgo: verify source dir really is a foot source dir before proceeding

This commit is contained in:
Daniel Eklöf 2021-10-06 20:10:58 +02:00
parent 8e4d020a41
commit b1c03861cd
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -19,6 +19,11 @@ shift 3
# exit 1
# fi
if [ ! -f "${srcdir}"/generate-version.sh ]; then
echo "error: ${srcdir}: does not appear to be a foot source directory"
exit 1
fi
compiler=other
do_pgo=no