[tor-commits] [oonib/master] Fix check condition inside of build_tor2web script.

art at torproject.org art at torproject.org
Thu Aug 28 17:28:01 UTC 2014


commit 06ae860106c30960475103a0c28ae49100347b63
Author: Arturo Filastò <art at fuffa.org>
Date:   Mon Jun 2 13:32:56 2014 +0200

    Fix check condition inside of build_tor2web script.
---
 scripts/build_tor2web_tor.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/build_tor2web_tor.sh b/scripts/build_tor2web_tor.sh
index cebc55f..35daf69 100755
--- a/scripts/build_tor2web_tor.sh
+++ b/scripts/build_tor2web_tor.sh
@@ -19,10 +19,10 @@ https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz
 https://github.com/downloads/libevent/libevent/libevent-$LIBEVENT_VERSION.tar.gz.asc
 https://github.com/downloads/libevent/libevent/libevent-$LIBEVENT_VERSION.tar.gz"
 
-if [ command -v shasum ]; then
+if [ `command -v shasum` ]; then
   SHA256SUM='shasum -a 256'
 fi
-if [ command -v sha256sum ]; then
+if [ `command -v sha256sum` ]; then
   SHA256SUM='sha256sum'
 fi
 if [ ! $SHA256SUM ]; then





More information about the tor-commits mailing list