From ce4faacc601e8c7fe8e72dbc8fa2a39c3d5b9b13 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Oct 2008 06:43:29 +0200 Subject: [PATCH] Don't forget to set make_cmd if not set in install_src_phase(). --HG-- extra : convert_revision : 17ce248ae1de31b1c0a73b4cf584f2b7356befad --- xbps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xbps.sh b/xbps.sh index ad8a9ba72a..46548f6123 100755 --- a/xbps.sh +++ b/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 ***"