Bah. Fix wrksrc in templates that use it.
--HG-- extra : convert_revision : 652b945cce3ea8c774f38a80a3ff9bf395d16b3f
This commit is contained in:
parent
0fdfc94802
commit
37c599e017
1 changed files with 3 additions and 3 deletions
6
pkgfs.sh
6
pkgfs.sh
|
@ -445,14 +445,14 @@ fixup_tmpl_libtool()
|
||||||
|
|
||||||
build_tmpl_sources()
|
build_tmpl_sources()
|
||||||
{
|
{
|
||||||
local wrksrc=""
|
|
||||||
|
|
||||||
[ -z "$pkgname" ] && return 1
|
[ -z "$pkgname" ] && return 1
|
||||||
|
|
||||||
if [ -n "$distfiles" ]; then
|
if [ -n "$distfiles" ]; then
|
||||||
wrksrc=$PKGFS_BUILDDIR/$distfiles
|
wrksrc=$PKGFS_BUILDDIR/$distfiles
|
||||||
else
|
elif [ -z "$wrksrc" ]; then
|
||||||
wrksrc=$PKGFS_BUILDDIR/$pkgname
|
wrksrc=$PKGFS_BUILDDIR/$pkgname
|
||||||
|
else
|
||||||
|
wrksrc=$PKGFS_BUILDDIR/$wrksrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "$wrksrc" ]; then
|
if [ ! -d "$wrksrc" ]; then
|
||||||
|
|
Loading…
Reference in a new issue