1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

[LP-164] - fix Getting Started link in OSX package

This commit is contained in:
a*morale 2015-12-03 00:08:15 +01:00
parent 33fd073248
commit f1bfe7fa85
3 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ endif
BUILD_DIR="$(BUILD_DIR)" \
GCS_BIG_NAME="$(GCS_BIG_NAME)" \
GCS_SMALL_NAME="$(GCS_SMALL_NAME)" \
WIKI_URL_ROOT="${WIKI_URL_ROOT}" \
PACKAGE_LBL="$(PACKAGE_LBL)" \
PACKAGE_DIR="$(PACKAGE_DIR)" \
PACKAGE_NAME="$(PACKAGE_NAME)" \

View File

@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>URL</key>
<string>http://wiki.openpilot.org/display/Doc/Getting+Started+Guide</string>
<string>@URL@</string>
</dict>
</plist>

View File

@ -16,6 +16,7 @@ rm -rf "${OUT_FILE}"
# copy base dmg structure
cp -r "${ROOT_DIR}/package/osx/dmg/" "${SRC_DIR}"
sed -i '' s/@URL@/$(echo ${WIKI_URL_ROOT} | sed -e 's/\\/\\\\/g' -e 's/\//\\\//g' -e 's/&/\\\&/g')/ "${SRC_DIR}/Getting Started.webloc"
# packaging goes here
cp -a "${APP_PATH}" "${SRC_DIR}"