1
0
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:
James Cotton 2011-12-10 14:02:18 -06:00
parent 24d6c971e6
commit 62cf257071
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -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