mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/triplea: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
7a9ae8a00d
commit
26db337b19
1 changed files with 4 additions and 3 deletions
|
@ -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 ;;
|
||||
|
|
Loading…
Reference in a new issue