From c552ea376b4c40f78ec39c2c139435d7248d8ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Duarte?= Date: Sun, 27 Aug 2023 18:42:08 +0100 Subject: [PATCH] fix not cd inside rpmbuild --- deploy/build_deb_rpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/build_deb_rpm.sh b/deploy/build_deb_rpm.sh index 8206d3d..74b3599 100755 --- a/deploy/build_deb_rpm.sh +++ b/deploy/build_deb_rpm.sh @@ -46,7 +46,7 @@ mkdir -p rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} cp -r ${REPODIR}/kernel_module ./lenovolegionlinux-kmod-1.0.0-x86_64 tar --create --file lenovolegionlinux-kmod-1.0.0-x86_64.tar.gz lenovolegionlinux-kmod-1.0.0-x86_64 && rm --recursive lenovolegionlinux-kmod-1.0.0-x86_64 mv lenovolegionlinux-kmod-1.0.0-x86_64.tar.gz rpmbuild/SOURCES -rpmbuild --define "_topdir `pwd`" -bs SPECS/lenovolegionlinux.spec +cd rpmbuild && rpmbuild --define "_topdir `pwd`" -bs SPECS/lenovolegionlinux.spec ##BUILD PYTHON DEB