diff options
| author | Geoff Rehmet <csgr@FreeBSD.org> | 1994-04-17 22:27:56 +0000 |
|---|---|---|
| committer | Geoff Rehmet <csgr@FreeBSD.org> | 1994-04-17 22:27:56 +0000 |
| commit | 03863e2a02d451d65cf1e2f69353cb9270f8de70 (patch) | |
| tree | 92a25f4062ea557df34b0352b92383b779676183 /usr.sbin | |
| parent | f503299a86dd96c9a24571198c2e990df1defc5b (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -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 bc12faba8fbac..d7caf66180eb7 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 |
