1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

OP-910 Updated osx package to include WHATSNEW.txt files and Docs folder with GPLv3, LICENSE, MILESTONES and README.

+review OPReview
This commit is contained in:
a*morale 2013-06-02 14:26:14 +02:00
parent 73f7243019
commit b8236c6db6
2 changed files with 10 additions and 0 deletions

Binary file not shown.

View File

@ -13,6 +13,12 @@ VOL_NAME="OpenPilot"
rm -f "${TEMP_FILE}"
rm -f "${OUT_FILE}"
# if the file doesn't exist, try to create folder
if [ ! -f "/Volumes/${VOL_NAME}" ]
then
hdiutil unmount "/Volumes/${VOL_NAME}"
fi
hdiutil convert "${ROOT_DIR}/package/osx/OpenPilot.dmg" \
-format UDRW -o "${TEMP_FILE}"
device=$(hdiutil attach "${TEMP_FILE}" | \
@ -23,6 +29,10 @@ cp -a "${APP_PATH}" "/Volumes/${VOL_NAME}"
#ls "${FW_DIR}" | xargs -n 1 -I {} cp "${FW_DIR}/{}" "/Volumes/${VOL_NAME}/Firmware"
cp "${BUILD_DIR}/uavobject-synthetics/matlab/OPLogConvert.m" "/Volumes/${VOL_NAME}/Utilities"
cp "${ROOT_DIR}/WHATSNEW.txt" "/Volumes/${VOL_NAME}"
cp "${ROOT_DIR}/README.txt" "/Volumes/${VOL_NAME}/Docs"
cp "${ROOT_DIR}/MILESTONES.txt" "/Volumes/${VOL_NAME}/Docs"
cp "${ROOT_DIR}/LICENSE.txt" "/Volumes/${VOL_NAME}/Docs"
cp "${ROOT_DIR}/GPLv3.txt" "/Volumes/${VOL_NAME}/Docs"
"${ROOT_DIR}/package/osx/libraries" \
"/Volumes/${VOL_NAME}/OpenPilot GCS.app" || exit 1