diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/shmin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shmin.sh b/tools/shmin.sh index 9bf50b7..02684b6 100755 --- a/tools/shmin.sh +++ b/tools/shmin.sh @@ -187,7 +187,7 @@ minify() fi # Set output file name. - if ! mv "${output}~" "${output}"; then + if ! cat "${output}~" >"${output}"; then die 'Cannot rename file to "%s"' "${output}" fi } |