diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-05-27 01:21:02 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-05-27 17:23:54 +0200 |
commit | ac3bc458742d662199079c291a051b1fa7f41b1a (patch) | |
tree | f0d484b69e1ff3c5eb4c83f89940e5fee714c354 /phpBB/develop | |
parent | af05015a693ef28cf6a38e449a375d4593a41253 (diff) | |
download | forums-ac3bc458742d662199079c291a051b1fa7f41b1a.tar forums-ac3bc458742d662199079c291a051b1fa7f41b1a.tar.gz forums-ac3bc458742d662199079c291a051b1fa7f41b1a.tar.bz2 forums-ac3bc458742d662199079c291a051b1fa7f41b1a.tar.xz forums-ac3bc458742d662199079c291a051b1fa7f41b1a.zip |
[ticket/12582] Overwrite inplace instead of creating _original files.
PHPBB3-12582
Diffstat (limited to 'phpBB/develop')
-rwxr-xr-x | phpBB/develop/strip_icc_profiles.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/develop/strip_icc_profiles.sh b/phpBB/develop/strip_icc_profiles.sh index c9c77bda38..5bf602242a 100755 --- a/phpBB/develop/strip_icc_profiles.sh +++ b/phpBB/develop/strip_icc_profiles.sh @@ -20,7 +20,7 @@ STATUS=0 for FILE in $(find "$ROOT" -type f -iregex '.*\.\(gif\|jpg\|jpeg\|png\)$') do HASH_OLD=$(md5sum "$FILE") - exiftool -icc_profile"-<=" "$FILE" > /dev/null 2>&1 + exiftool -icc_profile"-<=" -overwrite_original_in_place "$FILE" > /dev/null 2>&1 HASH_NEW=$(md5sum "$FILE") if [ "$HASH_OLD" != "$HASH_NEW" ] |