]> granicus.if.org Git - apache/commitdiff
Avoid processing some files twice if APR_INCLUDEDIR and
authorStefan Fritsch <sf@apache.org>
Sun, 2 Dec 2012 22:25:20 +0000 (22:25 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 2 Dec 2012 22:25:20 +0000 (22:25 +0000)
APU_INCLUDEDIR containin the same path but differing in
doubled slashes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416278 13f79535-47bb-0310-9956-ffa450edef68

server/Makefile.in

index 813b411c10da36ee50a707057ad9043c525d69a3..c2a36fd9ad212712de6558cc5896295ddd41d985 100644 (file)
@@ -70,7 +70,7 @@ export_files:
          for dir in $(EXPORT_DIRS_APR); do \
              ls $$dir/ap[ru].h $$dir/ap[ru]_*.h 2>/dev/null; \
          done; \
-       ) | sort -u > $@
+       ) | sed -e s,//,/,g | sort -u > $@
 
 exports.c: export_files
        $(AWK) -f $(top_srcdir)/build/make_exports.awk `cat $?` > $@