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