summaryrefslogtreecommitdiffstats
path: root/net/swgp-go/test.sh
blob: 29bed809b2df37cc62d66cdc9c1dfb5d788d1f17 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

swgp-go -version 2>&1
swgp-go -version 2>&1 | grep "$2"
[ $? == 0 ] || {
	echo "Problem or incorrect version for '$1'"
	exit 1
}