Browse Source

use /bin/sh instead of /bin/ksh and add cvs id.

OK deraadt
OPENBSD_5_6
okan 10 years ago
parent
commit
e0cf8941d0
2 changed files with 5 additions and 3 deletions
  1. +2
    -2
      src/etc/Makefile
  2. +3
    -1
      src/etc/ttys.pty

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.381 2014/07/16 13:21:33 deraadt Exp $
# $OpenBSD: Makefile,v 1.382 2014/07/16 14:34:33 okan Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -93,7 +93,7 @@ distribution-etc-root-var distribution distrib-dirs release:
.else
distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${MUTABLE} ${DESTDIR}/etc
ksh ttys.pty | cat etc.${MACHINE}/ttys - > ${DESTDIR}/etc/ttys && \
sh ttys.pty | cat etc.${MACHINE}/ttys - > ${DESTDIR}/etc/ttys && \
chown ${BINOWN} ${DESTDIR}/etc/ttys && \
chgrp ${BINGRP} ${DESTDIR}/etc/ttys && \
chmod 644 ${DESTDIR}/etc/ttys


+ 3
- 1
src/etc/ttys.pty View File

@ -1,4 +1,6 @@
#! /bin/ksh
#! /bin/sh
#
# $OpenBSD: ttys.pty,v 1.6 2014/07/16 14:34:33 okan Exp $
#
# Copyright (c) 2004 Dale Rahn <drahn@openbsd.org>
#


Loading…
Cancel
Save