From ea51e4911a9a954d5558052db678f883d23984f1 Mon Sep 17 00:00:00 2001 From: Joel Klimont Date: Thu, 6 Oct 2022 18:33:27 +0200 Subject: [PATCH] more work on build --- build.sh | 2 +- client_s2/build_deb.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index b7024ce..84ba6e3 100644 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/client_s2/build_deb.sh b/client_s2/build_deb.sh index 117f3d8..9145852 100755 --- a/client_s2/build_deb.sh +++ b/client_s2/build_deb.sh @@ -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 \