[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Make use of "test" more solaris friendly.
Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv13570
Modified Files:
Makefile
Log Message:
Make use of "test" more solaris friendly.
Index: Makefile
===================================================================
RCS file: /home/minion/cvsroot/src/minion/Makefile,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- Makefile 9 Jun 2003 21:24:54 -0000 1.48
+++ Makefile 21 Jun 2003 07:18:26 -0000 1.49
@@ -201,7 +201,7 @@
# 2) whether contrib/openssl is a real file or directory
unpack-openssl:
@cd ./contrib; \
- if [ -e ./openssl -a ! -L ./openssl ]; then \
+ if [ -d ./openssl -a ! -h ./openssl ]; then \
echo "Ouch. contrib/openssl seems not to be a symlink: " \
"I'm afraid to delete it." ; \
exit; \
@@ -222,7 +222,7 @@
UNPACKED=`echo $$TGZ | sed -e s/.tar.gz$$//`; \
echo "Unpacking $$TGZ..."; \
gunzip -c $$TGZ | tar xf -; \
- if [ ! -e $$UNPACKED ]; then \
+ if [ ! -d $$UNPACKED ]; then \
echo "Oops. I unpacked $$TGZ, but didn't find $$UNPACKED."; \
fi; \
rm -f ./openssl; \