diff options
Diffstat (limited to 'system/B-em/B-em.SlackBuild')
-rw-r--r-- | system/B-em/B-em.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/system/B-em/B-em.SlackBuild b/system/B-em/B-em.SlackBuild index 108724e7f0f5..2da6362b238c 100644 --- a/system/B-em/B-em.SlackBuild +++ b/system/B-em/B-em.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=B-em VERSION=${VERSION:-608eb15} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} COMMIT=${COMMIT:-608eb15ad89f8003736f2b2dbc310759e9ab72c0} @@ -68,8 +68,15 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION +if [ -f "$CWD/B-em-$COMMIT.tar.gz" ]; then + mv $CWD/B-em-$COMMIT.tar.gz $CWD/b-em-$COMMIT.tar.gz +fi tar xvfz $CWD/b-em-$COMMIT.tar.gz -mv b-em-$COMMIT $PRGNAM-$VERSION +if [ -d "B-em-$COMMIT" ]; then + mv B-em-$COMMIT $PRGNAM-$VERSION +else + mv b-em-$COMMIT $PRGNAM-$VERSION +fi cd $PRGNAM-$VERSION chown -R root:root . |