File tree Expand file tree Collapse file tree 2 files changed +9
-161
lines changed Expand file tree Collapse file tree 2 files changed +9
-161
lines changed Original file line number Diff line number Diff line change 9
9
# where <package> is the package name and the CVS module
10
10
# and <version> s the version number with underscores instead of dots.
11
11
#
12
- # For example: cvs tag php_3_0a1
12
+ # For example: cvs tag php_5_0_1
13
13
#
14
14
# The distribution ends up in a .tar.gz file that contains the distribution
15
15
# in a directory called <package>-<version>. The distribution contains all
45
45
IFS=" $old_IFS "
46
46
47
47
PHPROOT=:pserver:cvsread@cvs.php.net:/repository
48
- ZENDROOT=:pserver:cvsread@cvs.php.net:/repository
49
- PHPMOD=php4
50
- ZENDMOD=Zend
51
- TSRMMOD=TSRM
48
+ PHPMOD=php5
52
49
LT_TARGETS=' ltconfig ltmain.sh config.guess config.sub'
53
50
54
51
if echo ' \c' | grep -s c > /dev/null 2>&1
79
76
CVSVER=` echo $VER | sed -e ' s/[\.\-]/_/g' `
80
77
81
78
# CVS release tag
82
- CVSTAG=${PKG} _$CVSVER
79
+ if test " $VER " ! = " HEAD" ; then
80
+ CVSTAG=${PKG} _$CVSVER
81
+ else
82
+ CVSTAG=HEAD
83
+ fi
83
84
84
85
if test ! -d $DIRPATH ; then
85
86
mkdir -p $DIRPATH || exit 2
86
87
fi
87
88
88
- # cd $DIRPATH || exit 3
89
-
90
89
# Export PHP
91
90
$ECHO_N " makedist: exporting tag '$CVSTAG ' from '$PHPMOD '...$ECHO_C "
92
91
cvs -z 9 -d $PHPROOT export -d $DIR -r $CVSTAG $PHPMOD || exit 4
93
92
echo " "
94
93
95
- # Export the other modules inside the PHP directory
96
- cd $DIR || exit 5
97
-
98
94
# remove CVS stuff...
95
+ cd $DIR || exit 5
99
96
find . \( \( -name CVS -type d \) -o -name .cvsignore \) -exec rm -rf {} \;
100
97
101
98
# The full ChangeLog is available separately from lxr.php.net
102
- rm ChangeLog*
99
+ rm -f ChangeLog*
103
100
104
101
# hide away our own versions of libtool-generated files
105
102
for i in $LT_TARGETS ; do
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments