[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 06ae860106c30960475103a0c28ae49100347b63
Author: Arturo Filastò <art@xxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits