Skip to content

Commit

Permalink
Fix deb and rpm builder
Browse files Browse the repository at this point in the history
  • Loading branch information
yenienserrano committed Nov 22, 2023
1 parent 33d8a53 commit 2bc1a52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-tools/build-packages/deb/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ deb_file="${target}_${version}-${revision}_${architecture}.deb"
mkdir -p ${source_dir}/debian

# Including spec file
cp -r /root/build_packages/deb/debian/* ${source_dir}/debian/
cp -r /root/build-packages/deb/debian/* ${source_dir}/debian/

# Generating directory structure to build the .deb package
cd ${build_dir}/${target} && tar -czf ${pkg_name}.orig.tar.gz "${pkg_name}"
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/build-packages/rpm/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mkdir -p ${rpm_build_dir}/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
mkdir ${build_dir}/${pkg_name}

# Including spec file
cp /root/build_packages/rpm/${target}.spec ${rpm_build_dir}/SPECS/${pkg_name}.spec
cp /root/build-packages/rpm/${target}.spec ${rpm_build_dir}/SPECS/${pkg_name}.spec

# Generating source tar.gz
cd ${build_dir} && tar czf "${rpm_build_dir}/SOURCES/${pkg_name}.tar.gz" "${pkg_name}"
Expand Down

0 comments on commit 2bc1a52

Please sign in to comment.