mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
Update to OSX packaging to allow 32/64 bit binaries to fit
This commit is contained in:
parent
24d6c971e6
commit
62cf257071
Binary file not shown.
@ -30,8 +30,10 @@ cp "${ROOT_DIR}/HISTORY.txt" "/Volumes/${VOL_NAME}"
|
||||
|
||||
hdiutil detach ${device}
|
||||
|
||||
echo "Resizing dmg"
|
||||
hdiutil resize -size 250m ${TEMP_FILE}
|
||||
min=`hdiutil resize ${TEMP_FILE} | awk \{print\ \$\1\}`
|
||||
echo "Resizing dmg to ${min}"
|
||||
|
||||
hdiutil resize -sectors ${min} ${TEMP_FILE}
|
||||
hdiutil convert "${TEMP_FILE}" -format UDZO -o "${OUT_FILE}"
|
||||
|
||||
# cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user