summaryrefslogtreecommitdiffstats
path: root/network/openfire/openfire.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/openfire/openfire.SlackBuild')
-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 . \