Bah. Fix wrksrc in templates that use it.

--HG--
extra : convert_revision : 652b945cce3ea8c774f38a80a3ff9bf395d16b3f
This commit is contained in:
Juan RP 2008-10-02 01:48:48 +02:00
parent 0fdfc94802
commit 37c599e017

View file

@ -445,14 +445,14 @@ fixup_tmpl_libtool()
build_tmpl_sources()
{
local wrksrc=""
[ -z "$pkgname" ] && return 1
if [ -n "$distfiles" ]; then
wrksrc=$PKGFS_BUILDDIR/$distfiles
else
elif [ -z "$wrksrc" ]; then
wrksrc=$PKGFS_BUILDDIR/$pkgname
else
wrksrc=$PKGFS_BUILDDIR/$wrksrc
fi
if [ ! -d "$wrksrc" ]; then