Don't forget to set make_cmd if not set in install_src_phase().
--HG-- extra : convert_revision : 17ce248ae1de31b1c0a73b4cf584f2b7356befad
This commit is contained in:
parent
e556f891a2
commit
ce4faacc60
1 changed files with 2 additions and 1 deletions
3
xbps.sh
3
xbps.sh
|
@ -853,6 +853,7 @@ install_src_phase()
|
|||
[ -z $pkg ] && [ -z $pkgname ] && return 1
|
||||
|
||||
[ -z "$make_install_target" ] && make_install_target=install
|
||||
[ -z "$make_cmd" ] && make_cmd=/usr/bin/make
|
||||
|
||||
#
|
||||
# There's nothing we can do if we are a meta template.
|
||||
|
@ -874,7 +875,7 @@ install_src_phase()
|
|||
#
|
||||
# Install package via make.
|
||||
#
|
||||
${make_cmd} ${make_install_args} ${make_install_target} \
|
||||
${make_cmd} ${make_install_target} ${make_install_args} \
|
||||
${make_install_prefix}
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo "*** ERROR installing $pkgname-$version ***"
|
||||
|
|
Loading…
Reference in a new issue