diff options
author | csgr <csgr@FreeBSD.org> | 1994-04-17 22:27:56 +0000 |
---|---|---|
committer | csgr <csgr@FreeBSD.org> | 1994-04-17 22:27:56 +0000 |
commit | 74e5a785abd38268449952e4a6ac3aa39ac77b9f (patch) | |
tree | 92a25f4062ea557df34b0352b92383b779676183 /usr.sbin/manctl | |
parent | 99ce61750d06bbd869d09ccfdd661fb6e64b6b76 (diff) | |
download | FreeBSD-src-74e5a785abd38268449952e4a6ac3aa39ac77b9f.zip FreeBSD-src-74e5a785abd38268449952e4a6ac3aa39ac77b9f.tar.gz |
get the soelim crud right this time !
Diffstat (limited to 'usr.sbin/manctl')
-rw-r--r-- | usr.sbin/manctl/manctl.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/manctl/manctl.sh b/usr.sbin/manctl/manctl.sh index bc12fab..d7caf66 100644 --- a/usr.sbin/manctl/manctl.sh +++ b/usr.sbin/manctl/manctl.sh @@ -129,7 +129,7 @@ do_uncompress() if [ -d $1 ] ; then dir=$1 cd $dir - for i in $dir/* ; do + for i in * ; do case $i in *cat?) ;; # ignore cat directories *) { @@ -186,7 +186,8 @@ compress_page() else if [ $2 != "symbolic" ] ; then echo gzipping page $pname 1>&2 - soelim $pname | gzip -c -- > /tmp/manager.$$ + cat $pname | \ + (cd .. ; soelim )| gzip -c -- > /tmp/manager.$$ chmod u+w $pname cp /tmp/manager.$$ $pname chmod 444 $pname |