Use test instead of [

-e does not work with /bin/sh on psoriasis


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1170 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-01-19 05:18:23 +00:00
parent b86114d9e7
commit 53eb7a04fb

View File

@@ -11,10 +11,10 @@ DEFS = -DHOST=\"@CANONICAL_HOST@\"
LN_S = ln -s LN_S = ln -s
all: all:
for i in $(HEADERS) ; do \ for i in $(HEADERS); do \
if [ ! -h $$i -a ! -e $$i ]; then X="$$X $$i"; fi \ if test ! -h $$i -a ! -f $$i ; then X="$$X $$i"; fi \
done; \ done; \
if [ ! -z "$$X" ]; then $(MAKE) $$X; fi if test ! -z "$$X" ; then $(MAKE) $$X; fi
.c.o: .c.o:
$(CC) $(CFLAGS) $(DEFS) -c $< $(CC) $(CFLAGS) $(DEFS) -c $<