summaryrefslogtreecommitdiff
path: root/pngcrush.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pngcrush.sh')
-rwxr-xr-xpngcrush.sh2
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