apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r955603 - /apr/apr/trunk/buildconf
Date Thu, 17 Jun 2010 13:56:48 GMT
Author: trawick
Date: Thu Jun 17 13:56:48 2010
New Revision: 955603

URL: http://svn.apache.org/viewvc?rev=955603&view=rev
Log:
resolve permission problems encountered when building apr in the FreeBSD ports setup

Submitted by: pgollucci
Tweaked by: trawick

Modified:
    apr/apr/trunk/buildconf

Modified: apr/apr/trunk/buildconf
URL: http://svn.apache.org/viewvc/apr/apr/trunk/buildconf?rev=955603&r1=955602&r2=955603&view=diff
==============================================================================
--- apr/apr/trunk/buildconf (original)
+++ apr/apr/trunk/buildconf Thu Jun 17 13:56:48 2010
@@ -69,6 +69,7 @@ if test "$1" = "1"; then
   fi
   # Do we need this anymore?
   echo "buildconf: Using libtool.m4 at ${ltfile}."
+  chmod u+w build/libtool.m4
   cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
 fi
 if test "$1" = "2"; then
@@ -76,7 +77,7 @@ if test "$1" = "2"; then
   # Wouldn't it just be better to define top_builddir??
   mv build/libtool.m4 build/libtool.m4.$$
   cat build/libtool.m4.$$ | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' >
build/libtool.m4
-  rm build/libtool.m4.$$
+  rm -f build/libtool.m4.$$
 fi
 
 # Clean up any leftovers



Mime
View raw message