bugfix: configure: symlink to $ngx_sbin resolved to wrong location if DESTDIR was non-empty

pull/362/head
Marcus Clyne 7 years ago
parent 7cdd3da0ef
commit 62cb8713c4

2
util/configure vendored

@ -366,7 +366,7 @@ push @make_install_cmds,
if ($platform ne 'msys') {
push @make_install_cmds,
"ln -sf $ngx_sbin \$(DESTDIR)$prefix/bin/openresty";
"ln -sf \$(DESTDIR)$ngx_sbin \$(DESTDIR)$prefix/bin/openresty";
}
cd '../..'; # to the root

Loading…
Cancel
Save