[Asterisk-cvs] zaptel Makefile,1.85,1.86
kpfleming
kpfleming
Mon Sep 12 15:56:55 CDT 2005
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv21248
Modified Files:
Makefile
Log Message:
correctly test KSRC for sanity
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- Makefile 8 Aug 2005 17:12:54 -0000 1.85
+++ Makefile 12 Sep 2005 19:56:41 -0000 1.86
@@ -121,7 +121,8 @@
linux24: $(MODULESO) $(BINS)
linux26: prereq $(BINS)
- @if ! [ -d $(KSRC) ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi
+ @echo $(KSRC)
+ @if [ -z "$(KSRC)" -o ! -d $(KSRC) ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi
$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
obj-m := $(MODULESO)
More information about the svn-commits
mailing list