summarylogtreecommitdiffstats
path: root/no_extract_visit.patch
blob: a90c7b02b6232c27114bf022fabfcf5744738062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
3993,4014c3993,4014
<     if [[ "$DO_SVN" != "yes" || "$USE_VISIT_FILE" == "yes" ]] ; then
<         #
<         # Unzip the file, provided a gzipped file exists.
<         #
<         if [[ -f ${VISIT_FILE} ]] ; then
<            info "Unzipping/untarring ${VISIT_FILE} . . ."
<            uncompress_untar ${VISIT_FILE}
<            if [[ $? != 0 ]] ; then
<               warn \
< "Unable to untar ${VISIT_FILE}.  Corrupted file or out of space on device?"
<               return 1
<            fi
<         elif [[ -f ${VISIT_FILE%.*} ]] ; then
<            info "Unzipping ${VISIT_FILE%.*} . . ."
<            $TAR xf ${VISIT_FILE%.*}
<            if [[ $? != 0 ]] ; then
<               warn  \
< "Unable to untar ${VISIT_FILE%.*}.  Corrupted file or out of space on device?"
<               return 1
<            fi
<         fi
<     fi
---
> #    if [[ "$DO_SVN" != "yes" || "$USE_VISIT_FILE" == "yes" ]] ; then
> #        #
> #        # Unzip the file, provided a gzipped file exists.
> #        #
> #        if [[ -f ${VISIT_FILE} ]] ; then
> #           info "Unzipping/untarring ${VISIT_FILE} . . ."
> #           uncompress_untar ${VISIT_FILE}
> #           if [[ $? != 0 ]] ; then
> #              warn \
> #"Unable to untar ${VISIT_FILE}.  Corrupted file or out of space on device?"
> #              return 1
> #           fi
> #        elif [[ -f ${VISIT_FILE%.*} ]] ; then
> #           info "Unzipping ${VISIT_FILE%.*} . . ."
> #           $TAR xf ${VISIT_FILE%.*}
> #           if [[ $? != 0 ]] ; then
> #              warn  \
> #"Unable to untar ${VISIT_FILE%.*}.  Corrupted file or out of space on device?"
> #              return 1
> #           fi
> #        fi
> #    fi