apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: apr buildconf
Date Mon, 02 Apr 2001 19:54:45 GMT
jim         01/04/02 12:54:43

  Modified:    .        buildconf
  Log:
  Little portability hack.. cp -f ain't portable
  
  Revision  Changes    Path
  1.16      +6 -1      apr/buildconf
  
  Index: buildconf
  ===================================================================
  RCS file: /home/cvs/apr/buildconf,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- buildconf	2001/03/31 05:52:41	1.15
  +++ buildconf	2001/04/02 19:54:36	1.16
  @@ -83,7 +83,12 @@
       echo "$ltfile not found"
       exit 1
   fi
  -cp -f $ltfile build/libtool.m4
  +
  +# Ugly. 'cp -f' isn't portable, so we work around
  +if [ -f build/libtool.m4 ]; then
  +    rm -f build/libtool.m4
  +fi
  +cp $ltfile build/libtool.m4
   
   # This is just temporary until people's workspaces are cleared -- remove
   # any old aclocal.m4 left over from prior build so it doesn't cause errors.
  
  
  

Mime
View raw message