summaryrefslogtreecommitdiff
path: root/ptranslate/translators-posix/x-gzip.sh
blob: 6177b7fa5f44d556033760bc58fd2c9d89ecae84 (plain)
1
2
3
4
5
6
7
#!/bin/sh
file="$1"
tmp=`mktemp`
cp "$file" "$tmp"
gzip -dN "$file"
mv "$tmp" "$file"