development/kforth: Fix VERSION in script.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-03 04:35:40 -05:00 committed by Robby Workman
parent 41b3e0e7d7
commit 2f0961f295

View file

@ -5,7 +5,8 @@
# Written by G. Schoenmakers <gschoen@iinet.net.au>
PRGNAM=kforth
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.5.2p1}
SRCVER="$( echo $VERSION | cut -dp -f1 )"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -29,9 +30,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$MODEL-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$MODEL-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -41,7 +42,6 @@ find -L . \
patch ForthVM.cpp $CWD/ForthVM.diff
patch Makefile $CWD/Makefile.diff
VERSION=${VERSION}p1
make