diff options
author | Ameer Dawood <ameer1234567890@gmail.com> | 2019-08-09 15:11:30 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-09 15:11:30 +0500 |
commit | b13626653e4cb12c0ecd8f4b883ada7b600eaecb (patch) | |
tree | 7068a7cba2d514c4b5d38af3a8be93f29e782d98 | |
parent | 962e922b805d402c48426900db729a5628c4aad4 (diff) | |
download | tinifier-master.zip tinifier-master.tar.gz tinifier-master.tar.bz2 |
-rwxr-xr-x | tinifier.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinifier.sh b/tinifier.sh index 03aa676..883d31e 100755 --- a/tinifier.sh +++ b/tinifier.sh @@ -56,7 +56,7 @@ process_image() { fi continue fi - download_url="$(grep <api_response.txt location | awk '{print $2}')" + download_url="$(grep <api_response.txt location | awk '{print $2}' | sed 's/\r//g')" compression_count="$(grep <api_response.txt compression-count | awk '{print $2}')" log_info "Total API Requests: $compression_count/$API_LIMIT\n" if [ "$compression_count" -gt "$((API_LIMIT - 1))" ]; then |