more work on build

This commit is contained in:
Joel Klimont 2022-10-06 18:33:27 +02:00
parent b718985293
commit ea51e4911a
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,6 @@ mkdir output
DEB="empty"
cd client_s2
./build_deb.sh
source build_deb.sh
echo "Ran build deb, created: $DEB"
mv $DEB ../output

View file

@ -45,13 +45,14 @@ fpm -s python --python-bin python3 --python-pip pip3 --python-package-name-prefi
-v $VERSION -t deb setup.py
if [ "$EXTRACT_PKG" == "1" ]; then
echo "Exracting deb package"
mkdir build_extract
mv python3-complib_"$VERSION"_all.deb build_extract
cd build_extract
ar -xv python3-complib_"$VERSION"_all.deb
fi
DEB=python3-complib_"$VERSION"_all.deb
export DEB=python3-complib_"$VERSION"_all.deb
echo "Created: $DEB"
# --deb-changelog changelog \