diff --git a/dev-tools/build-packages/deb/builder.sh b/dev-tools/build-packages/deb/builder.sh index f5cf7400c753..681623489fa9 100755 --- a/dev-tools/build-packages/deb/builder.sh +++ b/dev-tools/build-packages/deb/builder.sh @@ -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}" diff --git a/dev-tools/build-packages/rpm/builder.sh b/dev-tools/build-packages/rpm/builder.sh index 53c102771a5e..f71f9476d038 100755 --- a/dev-tools/build-packages/rpm/builder.sh +++ b/dev-tools/build-packages/rpm/builder.sh @@ -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}"