trawick 02/03/23 08:18:35
Modified: build apr_common.m4
Log:
get APR_PATH_RELATIVE() to work on Tru64 and Solaris 8 again
(it still works on Linux)
I think this is a shell issue dealing with nested double quotes.
Revision Changes Path
1.29 +1 -1 apr/build/apr_common.m4
Index: apr_common.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_common.m4,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- apr_common.m4 21 Mar 2002 19:31:41 -0000 1.28
+++ apr_common.m4 23 Mar 2002 16:18:35 -0000 1.29
@@ -589,7 +589,7 @@
dnl APR_PATH_RELATIVE(final_path, $orig_path, $prefix)
dnl $final_path now contains "bar"
AC_DEFUN(APR_PATH_RELATIVE,[
-ap_stripped="`echo $2 | sed -e "s#^$3##"`"
+ap_stripped=`echo $2 | sed -e "s#^$3##"`
# check if the stripping was successful
if test "x$2" != "x${ap_stripped}"; then
# it was, so strip of any leading slashes