mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +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}
|
hdiutil detach ${device}
|
||||||
|
|
||||||
echo "Resizing dmg"
|
min=`hdiutil resize ${TEMP_FILE} | awk \{print\ \$\1\}`
|
||||||
hdiutil resize -size 250m ${TEMP_FILE}
|
echo "Resizing dmg to ${min}"
|
||||||
|
|
||||||
|
hdiutil resize -sectors ${min} ${TEMP_FILE}
|
||||||
hdiutil convert "${TEMP_FILE}" -format UDZO -o "${OUT_FILE}"
|
hdiutil convert "${TEMP_FILE}" -format UDZO -o "${OUT_FILE}"
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user