]>
Commit | Line | Data |
---|---|---|
fc6d9e4b | 1 | #!/bin/sh |
9726c137 A |
2 | set -e |
3 | set -x | |
fc6d9e4b | 4 | |
cf37c299 A |
5 | if [ -n "$RC_BRIDGE" ]; then |
6 | ACTUAL_PLATFORM_NAME="bridge${PLATFORM_NAME#watch}" | |
7 | else | |
8 | ACTUAL_PLATFORM_NAME="${PLATFORM_NAME}" | |
9 | fi | |
10 | ||
11 | case "$ACTUAL_PLATFORM_NAME" in | |
9726c137 A |
12 | iphone*|appletv*|watch*) |
13 | ditto "${BUILT_PRODUCTS_DIR}/zoneinfo" "${DSTROOT}/usr/share/zoneinfo.default" | |
14 | ln -hfs "/var/db/timezone/zoneinfo" "${DSTROOT}/usr/share/zoneinfo" | |
15 | ;; | |
cf37c299 | 16 | macosx|bridge*) |
9726c137 A |
17 | ditto "${BUILT_PRODUCTS_DIR}/zoneinfo" "${DSTROOT}/usr/share/zoneinfo" |
18 | ;; | |
19 | *) | |
cf37c299 | 20 | echo "Unsupported platform: $ACTUAL_PLATFORM_NAME" |
9726c137 A |
21 | exit 1 |
22 | ;; | |
23 | esac |