diff options
Diffstat (limited to 'network/ejabberd/ejabberd.SlackBuild')
-rw-r--r-- | network/ejabberd/ejabberd.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/network/ejabberd/ejabberd.SlackBuild b/network/ejabberd/ejabberd.SlackBuild index 1e3262a98772c..08efa75ad2581 100644 --- a/network/ejabberd/ejabberd.SlackBuild +++ b/network/ejabberd/ejabberd.SlackBuild @@ -25,8 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ejabberd -VERSION=${VERSION:-22.05_git75a771b} -COMMIT=75a771bfec3626145d404349fdaec4f0eef83bbc +VERSION=${VERSION:-22.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,11 +80,11 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$COMMIT -tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz -cd $PRGNAM-$COMMIT +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION -find -L $CWD -type f -name "*.tar.gz" ! -name "$PRGNAM-$COMMIT.tar.gz" \ +find -L $CWD -type f -name "*.tar.gz" ! -name "$PRGNAM-$VERSION.tar.gz" \ | while read f do fn=$(basename $f | sed -e 's/ejabberd-po.*/ejabberd_po/' \ |