[SLE] Little modification to `mailshar'
Hi, SuSE people, and Ulrich. I applied the following patch locally: --- /tmp/mailshar Mon May 29 17:53:51 2000 +++ /usr/bin/mailshar Mon May 29 17:54:40 2000 @@ -34,7 +34,7 @@ If none of -MTBzZ are given, -z is automatically selected if *none* of the FILEs have an .arc, .exz, .gif, .z, .gz, .Z, .zip or .zoo suffix." -if [ -n "`tpye -p mktemp`" ] ; then +if [ -n "`type -p mktemp`" ] ; then temp=`mktemp /var/tmp/$$.shar.XXXXXX` || exit 1 else temp=/var/tmp/$$.shar @@ -83,7 +83,7 @@ while read file; do case "`echo $file | sed -n 's|.*/||;/\./s|.*\.||p' \ | tr '[A-Z]' '[a-z]'`" in - arc|exz|gif|gz|z|zip|zoo) mode=; break ;; + arc|exz|gif|gz|tgz|z|zip|zoo) mode=; break ;; esac done < $temp rm $temp around a typo, and also, for considering `.tgz' as already compressed. Could it be considered for the next SuSE distribution, and next `sharutils' release, whichever happens first? :-) Thanks. P.S. - I feel a bit bizarre, submitting reports about my own code :-) -- François Pinard http://www.iro.umontreal.ca/~pinard -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
pinard@iro.umontreal.ca