diff options
author | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-02 19:54:36 +0000 |
---|---|---|
committer | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-02 19:54:36 +0000 |
commit | cbddf328b76766d689edd5c90b491c670cc68794 (patch) | |
tree | d4c6a35cc02d709288f4a30e8e37cf2a6ba00d3b /buildconf | |
parent | 585ee23501ee2b2afc292f730dd45952d844e8d7 (diff) | |
download | libapr-cbddf328b76766d689edd5c90b491c670cc68794.tar.gz |
Little portability hack.. cp -f ain't portable
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -83,7 +83,12 @@ if [ ! -f $ltfile ]; then 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. |