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:
@@ -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 $<
|
||||
|
Reference in New Issue
Block a user