diff --git a/wineautobuild-action-7z.sh b/wineautobuild-action-7z.sh index 28211f4..666454e 100644 --- a/wineautobuild-action-7z.sh +++ b/wineautobuild-action-7z.sh @@ -33,10 +33,10 @@ sudo apt install libpcsclite-dev libsdl2-dev samba-dev -y make -j$cpu mkdir ../program make install -j$cpu DESTDIR=../program -cd ../program +cd ../program/usr/local/ # 打7z包 7z a ../wine-$type-$version-debian10-amd64.7z * -cd .. +cd ../../.. rm -rfv program ## 构建 32 + 64 位(混合) mkdir build32 @@ -48,10 +48,10 @@ mkdir ../program make install -j$cpu DESTDIR=../program cd ../build64 make install -j$cpu DESTDIR=../program -cd ../program +cd ../program/usr/local/ # 打7z包 7z a ../wine-$type-$version-debian10-x86_64.7z * -cd .. +cd ../../.. rm -rfv program ## 构建纯 32 位 mkdir build32-only @@ -60,8 +60,9 @@ cd build32-only make -j$cpu mkdir ../program make install -j$cpu DESTDIR=../program +cd ../program/usr/local/ # 打7z包 7z a ../wine-$type-$version-debian10-i386.7z * -cd .. +cd ../../.. rm -rfv program ## 移除临时文件(不写了,反正 Github Action 会自动销毁) \ No newline at end of file