Commit ba502c17 authored by Ben Walker's avatar Ben Walker
Browse files

pkgdep: Prefer make -C to cd



Change-Id: I3a132a87b340232f1b3739cbff3c262ab8614a39
Signed-off-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/429527


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
parent 073f2dd8
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -91,10 +91,8 @@ else
	if [ "$ipsec" == "" ]; then
		ipsec_submodule_cloned="$(find $rootdir/intel-ipsec-mb -name intel-ipsec-mb.h 2>/dev/null)"
		if [ "$ipsec_submodule_cloned" != "" ]; then
			cd $rootdir/intel-ipsec-mb
			su - $SUDO_USER -c 'make'
			make install
			cd -
			su - $SUDO_USER -c "make -C $rootdir/intel-ipsec-mb"
			make -C $rootdir/intel-ipsec-mb install
		else
			echo "The intel-ipsec-mb submodule has not been cloned and will not be installed."
			echo "To enable crypto, run 'git submodule update --init' and then run this script again."