[Asterisk-Users] Patch to zaptel Makefile

Karl O. Pinc kop at meme.com
Mon Dec 12 21:57:01 MST 2005


(Was going to send it to the developer list but don't
really want to subscribe and unsubscribe and all that.
Sorry.)

This patch is broken because of email line breaks.
Sorry.

As you can see, the trouble is the shell script variable
is not double dollar-ed in the Makefile.

--- Makefile.orig	2005-12-12 16:03:00.301928264 -0600
+++ Makefile	2005-12-12 16:03:33.376900104 -0600
@@ -16,7 +16,7 @@
      KSRC:=/lib/modules/$(KVERS)/build
    else
      KSRC_SEARCH_PATH:=/usr/src/linux-2.4 /usr/src/linux
-    KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ];
then echo $dir; break; fi; done)
+    KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ];
then echo $$dir; break; fi; done)
    endif
  endif
  KINCLUDES:=$(KSRC)/include




Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein




More information about the asterisk-users mailing list