File mttroot/mtt/bin/trans/mtt_uncompress.sh artifact f07c5061fe part of check-in 13f4d96b63
#! /bin/sh file=$1 gzip --test --quiet $file 2> /dev/null ; file_is_uncompressed=$? if [[ $file_is_uncompressed -eq 0 ]]; then gz=`mktemp $file.gz.tmpXXXXXX` mv $file $gz zcat $gz > $file fi