upgraded and overrideable variables
This commit is contained in:
parent
ae3a175a76
commit
c45dd2c811
1 changed files with 7 additions and 7 deletions
|
@ -4,19 +4,19 @@ set -x
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=5.1.1
|
||||
VERSION=${VERSION:=5.1.2}
|
||||
|
||||
BUILD=1
|
||||
BUILD=${BUILD:=1}
|
||||
|
||||
ARCH=$(uname -m)
|
||||
ARCH=${ARCH:=$(uname -m)}
|
||||
LIBSUFFIX=$(echo $ARCH | grep -o 64)
|
||||
|
||||
TAG=cyco
|
||||
OUTPUT=/tmp
|
||||
TMP=/tmp/$TAG
|
||||
TAG=${TAG:=cyco}
|
||||
OUTPUT=${OUTPUT:=/tmp}
|
||||
TMP=${TMP:=/tmp/$TAG}
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
|
||||
PREFIX=/usr
|
||||
PREFIX=${PREFIX:=/usr}
|
||||
|
||||
# Cleaning
|
||||
rm -fr $TMP/$PRGNAM-$VERSION $PKG
|
||||
|
|
Loading…
Reference in a new issue