URI: 
       twine build: "exit 1" on hash/sig failure - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit a6fe73ad7280a5a1a6833b677022ce22d08d267f
   DIR parent 44bf80d291f015c08f5d55489306d531fc9a5f84
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Sun, 25 Feb 2018 18:54:34 +0100
       
       wine build: "exit 1" on hash/sig failure
       
       Diffstat:
         M contrib/build-wine/prepare-wine.sh  |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh
       t@@ -28,18 +28,18 @@ verify_signature() {
                return 0
            else
                echo "$out" >&2
       -        exit 0
       +        exit 1
            fi
        }
        
        verify_hash() {
       -    local file=$1 expected_hash=$2 out=
       +    local file=$1 expected_hash=$2
            actual_hash=$(sha256sum $file | awk '{print $1}')
            if [ "$actual_hash" == "$expected_hash" ]; then
                return 0
            else
                echo "$file $actual_hash (unexpected hash)" >&2
       -        exit 0
       +        exit 1
            fi
        }
        
       t@@ -117,4 +117,4 @@ cp libusb/MS32/dll/libusb-1.0.dll $WINEPREFIX/drive_c/python$PYTHON_VERSION/
        # add dlls needed for pyinstaller:
        cp $WINEPREFIX/drive_c/python$PYTHON_VERSION/Lib/site-packages/PyQt5/Qt/bin/* $WINEPREFIX/drive_c/python$PYTHON_VERSION/
        
       -echo "Wine is configured. Please run prepare-pyinstaller.sh"
       +echo "Wine is configured."