Changeset View
Changeset View
Standalone View
Standalone View
contrib/macdeploy/extract-osx-sdk.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
# Copyright (c) 2016 The Bitcoin Core developers | # Copyright (c) 2016 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
export LC_ALL=C | |||||
set -e | set -e | ||||
INPUTFILE="Xcode_7.3.1.dmg" | INPUTFILE="Xcode_7.3.1.dmg" | ||||
HFSFILENAME="5.hfs" | HFSFILENAME="5.hfs" | ||||
SDKDIR="Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk" | SDKDIR="Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk" | ||||
7z x "${INPUTFILE}" "${HFSFILENAME}" | 7z x "${INPUTFILE}" "${HFSFILENAME}" | ||||
SDKNAME="$(basename "${SDKDIR}")" | SDKNAME="$(basename "${SDKDIR}")" | ||||
Show All 20 Lines |