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 \