Rev 13 | Rev 15 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 14 | ||
---|---|---|---|
Line 84... | Line 84... | ||
84 | # print the build environment |
84 | # print the build environment |
85 | echo "QNX_HOST=${QNX_HOST}" |
85 | echo "QNX_HOST=${QNX_HOST}" |
86 | echo "QNX_TARGET=${QNX_TARGET}" |
86 | echo "QNX_TARGET=${QNX_TARGET}" |
87 | echo "MAKEFLAGS=${MAKEFLAGS}" |
87 | echo "MAKEFLAGS=${MAKEFLAGS}" |
88 | 88 | ||
89 | # change to an immediately visible path, i.e. the user's desktop (failsafe to $HOME if xdg-user-dir is unavailable) |
89 | # change to an immediately visible path, i.e. the user's desktop (failsafe to $HOME if xdg-user-dir is unavailable or points to a nonexistent directory) |
90 | STAGING_PATH="$(xdg-user-dir DESKTOP 2>/dev/null || echo "${HOME}")" |
90 | STAGING_PATH="$(xdg-user-dir DESKTOP 2>/dev/null || echo "${HOME}")" |
- | 91 | test -d "${STAGING_PATH}" || STAGING_PATH="${HOME}" |
|
91 | cd "${STAGING_PATH}" |
92 | cd "${STAGING_PATH}" |
92 | 93 | ||
93 | # download the involved source packages and unpack them if not done yet |
94 | # download the involved source packages and unpack them if not done yet |
94 | download_and_unpack_if_necessary() |
95 | download_and_unpack_if_necessary() |
95 | { |
96 | { |