修复nodejs打包
parent
a738021b62
commit
58f1bf48db
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue