2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 13:05:49 +00:00

Make sure builddeb goes to top of dir before cleanup

This commit is contained in:
Jarrod Johnson 2019-02-04 15:16:52 -05:00
parent b07d4e9736
commit 9fe200b525

View File

@ -12,6 +12,7 @@ py2dsc dist/*.tar.gz
shopt -s extglob
cd deb_dist/!(*.orig)/
dpkg-buildpackage -rfakeroot -uc -us -i
cd -
if [ $? -ne 0 ]; then
echo "[ERROR] rpmbuild returned non-zero, run: rpmbuild -ba ~/rpmbuild/SPECS/$PKGNAME.spec"
exit 1