diff options
author | qhjindev <qhjin_dev@163.com> | 2015-12-31 21:19:10 +0800 |
---|---|---|
committer | Russell Bryant <russell@ovn.org> | 2016-01-04 08:35:11 -0500 |
commit | 211d89b285da78dad9229bfa2479f9eaa829d9c9 (patch) | |
tree | 8b6458534ded29395919c2dfbff80ddd155853ca /tutorial | |
parent | d79fc5f421235a9f6eba592988e0499e3ae77d07 (diff) | |
download | openvswitch-211d89b285da78dad9229bfa2479f9eaa829d9c9.tar.gz |
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 <qhjin_dev@163.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'tutorial')
-rwxr-xr-x | tutorial/ovs-sandbox | 2 |
1 files changed, 1 insertions, 1 deletions
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 |