Comments
Patch
@@ -164,8 +164,12 @@ do_configure() {
esac
# These are strewn all over the source tree
for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
- echo Fixing: $foo
- sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
+ # D2194:Fixing the issue "patch file link is replaced with modified file"
+ # Ignore if file is a link, as actual file will also get caught during grep
+ if [ ! -h $foo ]; then
+ echo Fixing: $foo
+ sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
+ fi
done
rm -f config