Updated script

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2023-06-09 17:19:35 +03:00
parent 43fd2f94f0
commit 7845705b09

View file

@ -30,7 +30,7 @@ cat ../setup.cfg | grep "version =" | tr -d "[:space:]" | cut -c9-13 | tr , .
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=slpkg
VERSION=${VERSION:-$(__version)}
VERSION=${VERSION:-$(__version)}
BUILD=${BUILD:-1}
TAG=${TAG:-_dsw}
PKGTYPE=${PKGTYPE:-txz}
@ -76,7 +76,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || unzip $CWD/$PRGNAM-$VERSION.zip
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 \
|| unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \