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:
parent
33fd073248
commit
f1bfe7fa85
@ -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)" \
|
||||
|
@ -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>
|
||||
|
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user