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 () 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 uninstall
$make distclean $make distclean
./configure \ ./configure \
@ -365,7 +372,7 @@ tor_build ()
--disable-asciidoc \ --disable-asciidoc \
--disable-manpage \ --disable-manpage \
--disable-html-manual \ --disable-html-manual \
--prefix="${jm_root}" --prefix="${tor_root}"
$make $make
if ! $make check; then if ! $make check; then
return 1 return 1

Loading…
Cancel
Save