From 211d89b285da78dad9229bfa2479f9eaa829d9c9 Mon Sep 17 00:00:00 2001 From: qhjindev Date: Thu, 31 Dec 2015 21:19:10 +0800 Subject: ovs-sandbox: assign default value to ${MAKE} When run ovs-sandbox directly from the tutorial directory (the second method in Tutorial.md), the following result show up: $ ./ovs-sandbox -b /media/sda6/network/ovs/build ./ovs-sandbox: line 304: install-man: command not found The reason is that ${MAKE} is not set in the situation. So change ${MAKE} to ${MAKE-make} to resolve the issue. GitHub-PR: #104 Signed-off-by: Qinghua Jin Signed-off-by: Russell Bryant --- tutorial/ovs-sandbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tutorial') diff --git a/tutorial/ovs-sandbox b/tutorial/ovs-sandbox index d2619486c..a2e9f7a8c 100755 --- a/tutorial/ovs-sandbox +++ b/tutorial/ovs-sandbox @@ -301,7 +301,7 @@ OVS_SYSCONFDIR=$sandbox; export OVS_SYSCONFDIR if $built; then # Easy access to OVS manpages. - (cd "$builddir" && ${MAKE} install-man mandir="$sandbox"/man) + (cd "$builddir" && ${MAKE-make} install-man mandir="$sandbox"/man) MANPATH=$sandbox/man:; export MANPATH fi -- cgit v1.2.1