Browse Source

Install Tor binaries under /usr/local for --docker-install

master
Kristaps Kaupe 4 years ago
parent
commit
5e9044eb44
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 9
      install.sh

9
install.sh

@ -353,6 +353,13 @@ libsodium_install ()
tor_build ()
{
# jm_root will be empty for --docker-install,
# sys.prefix defaults to /usr/local
if [[ -n "$jm_root" ]]; then
tor_root="$jm_root"
else
tor_root="/usr/local"
fi
$make uninstall
$make distclean
./configure \
@ -365,7 +372,7 @@ tor_build ()
--disable-asciidoc \
--disable-manpage \
--disable-html-manual \
--prefix="${jm_root}"
--prefix="${tor_root}"
$make
if ! $make check; then
return 1

Loading…
Cancel
Save