Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit 5316141

Browse files
author
炒饭
committed
fix:pack软链接bug
1 parent 3725674 commit 5316141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if [ $want = "pack" ]; then
5656
mkdir -p "$tmp_dir/build"
5757
tar -zcvf "$tmp_dir/build/$dist_wechat_package" -C "$root_dir" dist
5858
else
59-
ln -s "$root_dir/package.nw"
59+
ln -sf "$root_dir/package.nw" "$dist_dir/package.nw"
6060
if [ $want = "install" ]; then
6161
sh "$dist_dir/scripts/replace_weapp_vendor.sh"
6262
fi

0 commit comments

Comments
 (0)