Use sh to execute scripts and just check that the script is readable.

I guess I pooched the permissions on the scripts before committing them
since they're not executable and now it's too late to change (I think -
I suppose you could chmod the ,v files and it might inheirit but I don't
feel like asking the repomeisters to try that).

Noticed by:	Dirk Froemberg <dirk@freebsd.org>
This commit is contained in:
Jordan K. Hubbard 2001-09-02 19:05:27 +00:00
parent 0b99cf978d
commit 9c552a1fd7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82806

View File

@ -781,14 +781,14 @@ cdrom.1:
touch cdrom.1
iso.1:
@if [ -x ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ]; then \
@if [ -r ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ]; then \
echo "Creating ISO images..."; \
${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_miniinst \
sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_miniinst \
${CD}/miniinst.iso ${CD_DISC1}; \
${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_livefs \
sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_livefs \
${CD}/disc2.iso ${CD_DISC2}; \
if [ "x${CD_EXTRA_BITS}" != "x" ]; then \
${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_boot \
sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_boot \
${CD}/disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS}; \
fi \
else \