Differences From Artifact [f07c5061fe]:

To Artifact [164628bbec]:


1
2
3
4
5
6
7
8
9
10
11
12
#! /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







|





1
2
3
4
5
6
7
8
9
10
11
12
#! /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


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]