Add real Interix support for _RC*_* variables; bump datestamp to today.

This commit is contained in:
tv 2004-10-11 19:32:14 +00:00
parent 89a2ff0af5
commit 5456502166
2 changed files with 18 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.7 2004/10/11 18:52:56 tv Exp $
# $NetBSD: Makefile,v 1.8 2004/10/11 19:32:14 tv Exp $
#
DISTNAME= rc.subr-20030706
DISTNAME= rc.subr-20041011
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty

View file

@ -1,4 +1,4 @@
# $NetBSD: rc.subr,v 1.4 2003/07/06 20:40:34 grant Exp $
# $NetBSD: rc.subr,v 1.5 2004/10/11 19:32:14 tv Exp $
#
# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
# All rights reserved.
@ -75,6 +75,21 @@ case $_osname in
_RCARG_psformat="-o pid,comm"
_RCARG_ps="-ef"
;;
Interix)
bsd_echo () {
if [ "$1" = "-n" ]; then
shift; echo "$@\c"
else
echo "$@"
fi
}
_RCCMD_chown="/usr/bin/chown"
_RCCMD_ci="/usr/contrib/bin/ci"
_RCCMD_co="/usr/contrib/bin/co"
_RCCMD_echo="bsd_echo"
_RCCMD_rcs="/usr/contrib/bin/rcs"
_RCARG_psformat="-wwo pid,comm"
;;
Linux)
_RCCMD_chown="/bin/chown"
# _RCCMD_ci="/usr/bin/ci" # not in Slackware 8.1