Skip to content

Commit

Permalink
Don't try to show bisonw-tray ver when not Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Aug 30, 2024
1 parent ff76dae commit 38ce248
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions showvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 38ce248

Please sign in to comment.