修复nodejs打包

master
yutent 2023-09-14 15:12:12 +08:00
parent a738021b62
commit 58f1bf48db
2 changed files with 8 additions and 2 deletions

View File

@ -44,7 +44,10 @@ tar -xf "${tmp_dir}/${app_name}-${pkg_arch}.tar.xz" -C $tmp_dir
echo "解包完成, 复制到待打包目录..."
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/* "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/bin "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/include "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/lib "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/share "./unpack/usr/"
rm -rf $tmp_dir

View File

@ -44,7 +44,10 @@ tar -xf "${tmp_dir}/${app_name}-${pkg_arch}.tar.xz" -C $tmp_dir
echo "解包完成, 复制到待打包目录..."
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/* "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/bin "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/include "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/lib "./unpack/usr/"
mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/share "./unpack/usr/"
rm -rf $tmp_dir