* Makefile.in (removenullpaths): Remove adjacent null paths.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Jul 2013 06:41:37 +0000 (23:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Jul 2013 06:41:37 +0000 (23:41 -0700)
Fixes: debbugs:14835

ChangeLog
Makefile.in

index 579cd12..ea9afc2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * Makefile.in (removenullpaths): Remove adjacent null paths (Bug#14835).
+
 2013-07-09  Peter Rosin  <peda@lysator.liu.se>  (tiny change>
 
        * configure.ac (HAVE_W32): Avoid nested functions (the second
index 4afe674..a5accbf 100644 (file)
@@ -293,7 +293,7 @@ all: ${SUBDIR}
 
 .PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 FRC
 
-removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
+removenullpaths=sed -e 's/^:*//' -e 's/:*$$//g' -e 's/::*/:/g'
 
 # Generate epaths.h from epaths.in.  This target is invoked by `configure'.
 # See comments in configure.ac for why it is done this way, as opposed