Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/isa/pcvt/Util/fonts s/mkdir/mkdir -p/, since n...



details:   https://anonhg.NetBSD.org/src/rev/396593d9c271
branches:  trunk
changeset: 473949:396593d9c271
user:      marc <marc%NetBSD.org@localhost>
date:      Wed Jun 23 04:29:28 1999 +0000

description:
s/mkdir/mkdir -p/, since not all the parents of $(FONTDIR) are
guaranteed to exist.

diffstat:

 sys/arch/i386/isa/pcvt/Util/fonts/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 4223135a23fe -r 396593d9c271 sys/arch/i386/isa/pcvt/Util/fonts/Makefile
--- a/sys/arch/i386/isa/pcvt/Util/fonts/Makefile        Wed Jun 23 04:17:10 1999 +0000
+++ b/sys/arch/i386/isa/pcvt/Util/fonts/Makefile        Wed Jun 23 04:29:28 1999 +0000
@@ -9,7 +9,9 @@
 all: $(FONTS)
 
 install: ${FONTS}
-       @if [ ! -d ${DESTDIR}${FONTDIR} ]; then mkdir ${DESTDIR}${FONTDIR};fi
+       @if [ ! -d ${DESTDIR}${FONTDIR} ]; then \
+               mkdir -p ${DESTDIR}${FONTDIR}; \
+       fi
        @for i in ${FONTS}; do \
                ${ECHO} "installing font $$i into ${DESTDIR}${FONTDIR}"; \
                ${INSTALL} -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \



Home | Main Index | Thread Index | Old Index