diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/Makefile | 9 | ||||
-rw-r--r-- | sh/functions.sh.in (renamed from sh/functions.in) | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | sh/gendepends.sh.in (renamed from sh/gendepends.sh) | 2 | ||||
-rw-r--r-- | sh/rc-functions.sh.in (renamed from sh/rc-functions.in) | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | sh/runscript.sh.in (renamed from sh/runscript.sh) | 2 |
5 files changed, 3 insertions, 10 deletions
diff --git a/sh/Makefile b/sh/Makefile index 47f431fa..364a59bc 100644 --- a/sh/Makefile +++ b/sh/Makefile @@ -1,7 +1,5 @@ DIR= ${RC_LIB}/sh -SRCS= functions.in rc-functions.in -OBJS= ${SRCS:.in=.sh} -INC= init-common-post.sh rc-mount.sh ${OBJS} +INC= init-common-post.sh rc-mount.sh functions.sh rc-functions.sh BIN= gendepends.sh net.sh runscript.sh INSTALLAFTER= _installafter @@ -12,11 +10,6 @@ include ${MK}/os.mk include Makefile.${SUBOS} include ${MK}/scripts.mk -# Ensure that the lib name is correct -.SUFFIXES: .in .sh -.in.sh: - sed -e 's:/lib/:/${LIBNAME}/:g' $< > $@ - _installafter: ${INSTALL} -d ${DESTDIR}/etc/init.d @# Provide an init script for the loopback interface diff --git a/sh/functions.in b/sh/functions.sh.in index effce67d..effce67d 100644 --- a/sh/functions.in +++ b/sh/functions.sh.in diff --git a/sh/gendepends.sh b/sh/gendepends.sh.in index 712d29ff..8e30a648 100755..100644 --- a/sh/gendepends.sh +++ b/sh/gendepends.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!@SHELL@ # Shell wrapper to list our dependencies # Copyright 2007-2008 Roy Marples <roy@marples.name> diff --git a/sh/rc-functions.in b/sh/rc-functions.sh.in index 2a57709c..2a57709c 100644 --- a/sh/rc-functions.in +++ b/sh/rc-functions.sh.in diff --git a/sh/runscript.sh b/sh/runscript.sh.in index 63c780a6..6b8c3db2 100755..100644 --- a/sh/runscript.sh +++ b/sh/runscript.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!@SHELL@ # Shell wrapper for runscript # Copyright 2007-2008 Roy Marples <roy@marples.name> |