diff options
author | Manoj Srivastava <srivasta@debian.org> | 2003-12-01 17:26:06 +0000 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2003-12-01 17:26:06 +0000 |
commit | 48d7579b5ec4c35deeee5d22464dac4983731475 (patch) | |
tree | 8a9bb9afaf427f7df3b7d700af8e323e3751e87f /mcon | |
parent | 371472d9fb6a936149b105a6563a0550d35bdf1a (diff) |
Incorporate previous changes to dist
These changes were done while the archive was under CVS cxontrol. They
include changing the location of perl from /usr/local/bin to /usr/bin
(the former would not work for debian systems). Changing the section
of a few man pages to section 7. changing do sub() to &sub(); and
various places adding a default case for make rules.
git-archimport-id: srivasta@debian.org--2003-primary/dist--debian--3.70--patch-1
Diffstat (limited to 'mcon')
-rw-r--r-- | mcon/U/Chk_MANI.U | 2 | ||||
-rw-r--r-- | mcon/U/nis.U | 12 | ||||
-rwxr-xr-x | mcon/makegloss.SH | 6 |
3 files changed, 16 insertions, 4 deletions
diff --git a/mcon/U/Chk_MANI.U b/mcon/U/Chk_MANI.U index 52fc44c..6f0ecd8 100644 --- a/mcon/U/Chk_MANI.U +++ b/mcon/U/Chk_MANI.U @@ -39,7 +39,7 @@ if test -f $rsrc/MANIFEST; then ?X: shell archive builder and may be removed by the user. Usually, they are ?X: not listed in the MANIFEST file, but you never know... ?X: - awk '$1 !~ /PACK[A-Z]+/ {print $1}' $rsrc/MANIFEST | split -50 + awk '$1 !~ /PACK[A-Z]+/ {print $1}' $rsrc/MANIFEST | split -l -50 rm -f missing tmppwd=`pwd` for filelist in x??; do diff --git a/mcon/U/nis.U b/mcon/U/nis.U index 283cb11..f8c82ab 100644 --- a/mcon/U/nis.U +++ b/mcon/U/nis.U @@ -162,4 +162,16 @@ esac case "$passcat" in '') passcat='cat /etc/passwd';; esac +case "$hostcat" in +'') hostcat='cat /etc/hosts';; +*) ;; +esac +case "$groupcat" in +'') groupcat='cat /etc/group';; +*) ;; +esac +case "$passcat" in +'') passcat='cat /etc/passwd';; +*) ;; +esac diff --git a/mcon/makegloss.SH b/mcon/makegloss.SH index 9928355..69525ee 100755 --- a/mcon/makegloss.SH +++ b/mcon/makegloss.SH @@ -113,14 +113,14 @@ while (<>) { $_ = "Unit: $unit"; $_ .= " (Also defines $also)" if $also; $_ .= " (With private $internal)" if $internal; - $head .= do format($_); + $head .= &format($_); if ($wants) { $_ = "Wants: $wants"; - $head .= do format($_); + $head .= &format($_); } if ($option) { $_ = "Optional: $option"; - $head .= do format($_); + $head .= &format($_); } $head .= "\n"; } |