From 38ce248ff96e577f5170ec364cb96c5aaff0d683 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 30 Aug 2024 13:34:27 -0500 Subject: [PATCH] Don't try to show bisonw-tray ver when not Windows. --- showvers.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/showvers.sh b/showvers.sh index 28a24e5..6706a95 100755 --- a/showvers.sh +++ b/showvers.sh @@ -3,8 +3,12 @@ set -e TUPLE=$(go version | perl -lane 'print $F[-1] =~ s,/,-,r') +OS=$(echo $TUPLE | cut -f1 -d-) for APP in dcrd dcrctl dcrwallet bisonw bisonw-tray bwctl dcrlncli dcrlnd politeiavoter; do + if [ "$OS" != "windows" ] && [ "$APP" == "bisonw-tray" ]; then + continue + fi APP="./bin/${TUPLE}/${APP}" [ -x "${APP}" ] && "${APP}" --version || echo "WARNING: ${APP} is not built" done