X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/d7c5a79d74058819f3fd37e5d16af52f30ce3dee..19cd1e0dd593ae7738eda5f6a3ba90cea4524e2a:/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