jim 02/03/13 10:13:02
Modified: build apr_common.m4
Log:
Fix weird error report... not sure what
brain damaged shell would misinterpret the current method, but
this safes it.
Revision Changes Path
1.26 +1 -1 apr/build/apr_common.m4
Index: apr_common.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_common.m4,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- apr_common.m4 8 Mar 2002 17:56:14 -0000 1.25
+++ apr_common.m4 13 Mar 2002 18:13:02 -0000 1.26
@@ -589,7 +589,7 @@
dnl APR_PATH_RELATIVE(final_path, $orig_path, $prefix)
dnl $final_path now contains "bar"
AC_DEFUN(APR_PATH_RELATIVE,[
-stripped=`echo $2 | sed -e "s#^$3##"`
+stripped=`echo $2 | sed -e "s#^${3}##"`
# check if the stripping was successful
if test "x$2" != "x$stripped"; then
# it was, so strip of any leading slashes