summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-11-09 16:57:26 +0000
committerStig Bakken <ssb@php.net>1999-11-09 16:57:26 +0000
commit2204607b1045a1a5eb14f3f80b5ba68f41e42dce (patch)
treeed5f3626bf2d492d336bb54c2a482b10333a8953 /makedist
parent5c28619f51017b3d7431fd386d2a5879022d3b25 (diff)
downloadphp-git-2204607b1045a1a5eb14f3f80b5ba68f41e42dce.tar.gz
Preserve the CVS versions of ltconfig/ltmain.sh during makedist.
#This is a temporary fix!
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist8
1 files changed, 8 insertions, 0 deletions
diff --git a/makedist b/makedist
index c77887fde9..4bbc9e5ff3 100755
--- a/makedist
+++ b/makedist
@@ -98,6 +98,10 @@ echo ""
# remove CVS stuff...
find . \( \( -name CVS -type d \) -o -name .cvsignore \) -exec rm -rf {} \;
+# hide away our own ltconfig/ltmain so they won't be overwritten
+mv ltconfig ltconfig.php
+mv ltmain.sh ltmain.sh.php
+
# generate some files so people don't need bison, flex and autoconf
# to install
set -x
@@ -108,6 +112,10 @@ set -x
echo "/* Dummy File */" > ext/bcmath/number.c
echo "/* Dummy File */" > ext/bcmath/number.h
+# now restore our own ltconfig/ltmain.sh files
+mv ltconfig.php ltconfig
+mv ltmain.sh.php ltmain.sh
+
cd $MY_OLDPWD
$ECHO_N "makedist: making gzipped tar archive...$ECHO_C"
tar czf $ARCHIVE $PKG-$VER || exit 8