Makefile SH variable now tweaks the default shell used by our scripts.
This commit is contained in:
@@ -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
|
||||
|
2
sh/gendepends.sh → sh/gendepends.sh.in
Executable file → Normal file
2
sh/gendepends.sh → sh/gendepends.sh.in
Executable file → Normal file
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!@SHELL@
|
||||
# Shell wrapper to list our dependencies
|
||||
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
2
sh/runscript.sh → sh/runscript.sh.in
Executable file → Normal file
2
sh/runscript.sh → sh/runscript.sh.in
Executable file → Normal file
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!@SHELL@
|
||||
# Shell wrapper for runscript
|
||||
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
Reference in New Issue
Block a user