X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/d7c5a79d74058819f3fd37e5d16af52f30ce3dee..367a112d938db5c80814b42c428b517e4a65efd9:/pngcrush.sh diff --git a/pngcrush.sh b/pngcrush.sh index 0598451e..685a6af3 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