Skip to content

Commit

Permalink
fix not cd inside rpmbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT committed Aug 27, 2023
1 parent 6293e10 commit c552ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/build_deb_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c552ea3

Please sign in to comment.