mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-17 16:45:06 -04:00
Fix UEFITool path on Linux
This commit is contained in:
parent
912a1b25b2
commit
f383646033
1 changed files with 8 additions and 3 deletions
11
unixbuild.sh
11
unixbuild.sh
|
@ -58,9 +58,14 @@ build_tool() {
|
||||||
make || exit 1
|
make || exit 1
|
||||||
|
|
||||||
# Archive
|
# Archive
|
||||||
if [ "$1" = "UEFITool" ] && [ "$UPLATFORM" = "mac" ]; then
|
if [ "$1" = "UEFITool" ]; then
|
||||||
strip -x UEFITool.app/Contents/MacOS/UEFITool || exit 1
|
if [ "$UPLATFORM" = "mac" ]; then
|
||||||
zip -qry dist/"${1}_${2}_${UPLATFORM}.zip" UEFITool.app "${4}" || exit 1
|
strip -x UEFITool.app/Contents/MacOS/UEFITool || exit 1
|
||||||
|
zip -qry dist/"${1}_${2}_${UPLATFORM}.zip" UEFITool.app "${4}" || exit 1
|
||||||
|
else
|
||||||
|
strip -x "$1" || exit 1
|
||||||
|
zip -qry dist/"${1}_${2}_${UPLATFORM}.zip" "${1}" "${4}" || exit 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
strip -x "$1" || exit 1
|
strip -x "$1" || exit 1
|
||||||
zip -qry ../dist/"${1}_${2}_${UPLATFORM}.zip" "${1}" "${4}" || exit 1
|
zip -qry ../dist/"${1}_${2}_${UPLATFORM}.zip" "${1}" "${4}" || exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue