games/triplea: Fix VERSION in script.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-03 05:26:20 -05:00 committed by Robby Workman
parent 7a9ae8a00d
commit 26db337b19

View file

@ -23,12 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=triplea
SRCVER=${SRCVER:-1_8_0_9_all_platforms}
VERSION=$(echo $SRCVER | tr _ . | cut -c1-7)
SRCDIR=$(echo $SRCVER | cut -c1-7)
VERSION=${VERSION:-1.8.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCDIR="$( echo $VERSION | tr . _ )"
SRCVER="${SRCDIR}_all_platforms"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;