]> git.pld-linux.org Git - packages/metamail.git/blob - metamail-uudecode.patch
- changed all BuildRoot definitons
[packages/metamail.git] / metamail-uudecode.patch
1 --- mm2.7/src/bin/sun-audio-file.ewt    Fri Oct 24 09:41:11 1997
2 +++ mm2.7/src/bin/sun-audio-file        Fri Oct 24 09:52:05 1997
3 @@ -6,7 +6,13 @@
4      set METAMAIL_TMPDIR=/tmp
5  endif
6  
7 -cd ${METAMAIL_TMPDIR}
8 -uudecode < $1
9 -audiotool audio-file
10 -rm -f audio-file $1
11 +set fn=`mktemp $METAMAIL_TMPDIR/audio.XXXXXX`
12 +test -n "$fn"
13 +if $? then
14 +       exit 1
15 +endif
16 +
17 +uudecode -o $fn < $1
18 +
19 +audiotool $fn
20 +rm -f $fn $1
21 --- mm2.7/src/bin/sun-message.csh.ewt   Fri Oct 24 09:44:07 1997
22 +++ mm2.7/src/bin/sun-message.csh       Fri Oct 24 09:52:30 1997
23 @@ -9,7 +9,13 @@
24  cd /tmp/decode.$$
25  
26  if ($2 == "uuencode") then
27 -    uudecode $1
28 +    set fn=`mktemp $METAMAIL_TMPDIR/audio.XXXXXX`
29 +    test -n "$fn"
30 +    if $? then
31 +           exit 1
32 +    endif
33 +
34 +    uudecode -o $fn $1
35  
36      echo "The following file was uudecoded:"
37      echo ""
38 @@ -17,7 +23,6 @@
39      set defans = "1"
40      while (1)
41         ls -l
42 -       set fn = *
43  
44         echo ""
45         echo "Please choose one:"
This page took 0.030541 seconds and 3 git commands to generate.