summaryrefslogtreecommitdiff
path: root/network/openfire
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-24 23:43:43 +0000
committerHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-25 18:19:39 +0100
commit21e8f3f1687986dd23447c5256c7dd887e6472aa (patch)
tree3a124dd91c81a3509a2a534cd3ba3b557ba8ff23 /network/openfire
parent3309ae9e30b6a9101696b3910ecb568162b10417 (diff)
downloadslackbuilds-21e8f3f1687986dd23447c5256c7dd887e6472aa.tar.gz
network/openfire: Fixed VERSION in SlackBuild.
Replaced underscores with dots to make it consistent with .info. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openfire')
-rw-r--r--network/openfire/openfire.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/openfire/openfire.SlackBuild b/network/openfire/openfire.SlackBuild
index 1047c15fc3..2cad7af6d2 100644
--- a/network/openfire/openfire.SlackBuild
+++ b/network/openfire/openfire.SlackBuild
@@ -5,10 +5,12 @@
# Modified by the slackbuilds.org project
PRGNAM=openfire
-VERSION=${VERSION:-3_7_1}
+VERSION=${VERSION:-3.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(echo $VERSION | tr . _)
+
ARCH=noarch
CWD=$(pwd)
@@ -49,7 +51,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM\_$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM\_$SRCVER.tar.gz
cd $PRGNAM
chown -R root:root .
find -L . \