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

@@ -12,9 +12,9 @@ LN_S = ln -s
all:
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; \
if [ ! -z "$$X" ]; then $(MAKE) $$X; fi
if test ! -z "$$X" ; then $(MAKE) $$X; fi
.c.o:
$(CC) $(CFLAGS) $(DEFS) -c $<