Only run pkgconfig_transform_file if file is there.

--HG--
extra : convert_revision : 8639a06fd5e8787331a5092ee6067ee71dad8fd2
This commit is contained in:
Juan RP 2008-10-04 16:27:27 +02:00
parent b4b9a41fac
commit 21fadc77d8
1 changed files with 2 additions and 2 deletions

View File

@ -667,8 +667,8 @@ build_tmpl_sources()
local tmpf="$PKGFS_DESTDIR/$pkg/lib/pkgconfig/$i"
[ -f "$tmpf" ] && \
[ -f $PKGFS_TMPLHELPDIR/pkg-config-transform.sh ] && \
. $PKGFS_TMPLHELPDIR/pkg-config-transform.sh
pkgconfig_transform_file $tmpf
. $PKGFS_TMPLHELPDIR/pkg-config-transform.sh && \
pkgconfig_transform_file $tmpf
done