install_funcs.sh: a meta-template needs $destdir.
--HG-- extra : convert_revision : 176760b9d895a32c95f48078a28ca85598de95a3
This commit is contained in:
parent
ea273f1e32
commit
fbcdbde679
1 changed files with 5 additions and 1 deletions
|
@ -36,8 +36,12 @@ install_src_phase()
|
|||
[ -z $pkg ] && [ -z $pkgname ] && return 1
|
||||
#
|
||||
# There's nothing we can do if we are a meta template.
|
||||
# Just creating the dir is enough to write the package metadata.
|
||||
#
|
||||
[ "$build_style" = "meta-template" ] && return 0
|
||||
if [ "$build_style" = "meta-template" ]; then
|
||||
mkdir -p $XBPS_DESTDIR/$pkgname-$version
|
||||
return 0
|
||||
fi
|
||||
|
||||
[ ! -d $wrksrc ] && msg_error "unexistent build directory [$wrksrc]"
|
||||
|
||||
|
|
Loading…
Reference in a new issue