summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2001-04-02 19:54:36 +0000
committerJim Jagielski <jim@apache.org>2001-04-02 19:54:36 +0000
commit7d064cde3e39e64c3f2b7dcfd631509b2939281c (patch)
treed4c6a35cc02d709288f4a30e8e37cf2a6ba00d3b /buildconf
parentc812d2219ea43e30e96b746aa5cfd596a306c0b4 (diff)
downloadapr-7d064cde3e39e64c3f2b7dcfd631509b2939281c.tar.gz
Little portability hack.. cp -f ain't portable
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index 06e0f3f9f..f5e0ab5fc 100755
--- a/buildconf
+++ b/buildconf
@@ -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.