diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2012-02-18 16:49:19 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2012-02-18 16:49:19 -0800 |
commit | 164e813970e3f8b4a3ab1c8247bed60ea9fd4f6d (patch) | |
tree | ec46cb82c7cbee943f628d36279cdee1c6235b62 /pngcrush.sh | |
parent | 1ad8f469df0494b7b2071fb889d30f232b9a34e3 (diff) |
Use xcode-select --print-path to find /Developer.
Diffstat (limited to 'pngcrush.sh')
-rwxr-xr-x | pngcrush.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pngcrush.sh b/pngcrush.sh index 0598451..685a6af 100755 --- a/pngcrush.sh +++ b/pngcrush.sh @@ -16,7 +16,7 @@ function step() { steps+=($(stat -f "%z" "${src}")) } -pngcrush=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush +pngcrush=$(xcode-select --print-path)/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush if grep CgBI "${png}" &>/dev/null; then if [[ ${png} != ${out} ]]; then |