diff options
Diffstat (limited to 'etc.BSD')
-rw-r--r-- | etc.BSD/Makefile | 8 | ||||
-rw-r--r-- | etc.BSD/rc.in | 2 | ||||
-rw-r--r-- | etc.BSD/rc.shutdown.in | 2 |
3 files changed, 4 insertions, 8 deletions
diff --git a/etc.BSD/Makefile b/etc.BSD/Makefile index 083823e4..ec3153cd 100644 --- a/etc.BSD/Makefile +++ b/etc.BSD/Makefile @@ -1,8 +1,5 @@ DIR= /etc -SRCS= rc.in rc.shutdown.in -OBJS= ${SRCS:.in=} -CONF= ${OBJS} - +CONF= ${CONTENTS} MK= ../mk include ${MK}/scripts.mk @@ -10,5 +7,4 @@ include Makefile.${OS} .SUFFIXES: .in .in: - sed -e s':@TERM@:${DEFTERM}:' $< > $@ - + sed -e 's:@SHELL@:${SHELL}:' -e 's:@TERM@:${DEFTERM}:' $< > $@ diff --git a/etc.BSD/rc.in b/etc.BSD/rc.in index 255ff72e..aab7cbb8 100644 --- a/etc.BSD/rc.in +++ b/etc.BSD/rc.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!@SHELL@ # Copyright 2007-2008 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. diff --git a/etc.BSD/rc.shutdown.in b/etc.BSD/rc.shutdown.in index 48abe703..e26e8468 100644 --- a/etc.BSD/rc.shutdown.in +++ b/etc.BSD/rc.shutdown.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!@SHELL@ # Copyright 2007-2008 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. |