]> granicus.if.org Git - postgresql/commitdiff
Escape # character in variable assignment
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 26 Feb 2008 10:30:06 +0000 (10:30 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 26 Feb 2008 10:30:06 +0000 (10:30 +0000)
src/Makefile.shlib

index 3cb5e55d8e2114a0717f1e76bc4338e0804815d9..b2adc2eb05f7b04dd6e45c4ea8ca12eade3bcf22 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1998, Regents of the University of California
 #
 # IDENTIFICATION
-#    $PostgreSQL: pgsql/src/Makefile.shlib,v 1.110 2008/02/26 06:41:23 petere Exp $
+#    $PostgreSQL: pgsql/src/Makefile.shlib,v 1.111 2008/02/26 10:30:06 petere Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -116,7 +116,7 @@ ifeq ($(PORTNAME), darwin)
   endif
   shlib                        = lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
   shlib_major          = lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)
-  BUILD.exports                = $(AWK) '/^[^#]/ {printf "_%s\n",$$1}' $< >$@
+  BUILD.exports                = $(AWK) '/^[^\#]/ {printf "_%s\n",$$1}' $< >$@
   ifneq (,$(SHLIB_EXPORTS))
     exported_symbols_list = -exported_symbols_list $(SHLIB_EXPORTS:%.txt=%.list)
   endif