Skip to content

Commit

Permalink
- Update makedist script
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Rethans committed Oct 10, 2002
1 parent 9275b2b commit 5ed9e75
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions makedist
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,12 @@ fi

# Export PHP
$ECHO_N "makedist: exporting tag '$CVSTAG' from '$PHPMOD'...$ECHO_C"
cvs -z 9 -d $PHPROOT -Q export -d $DIR -r $CVSTAG $PHPMOD || exit 4
cvs -z 9 -d $PHPROOT export -d $DIR -r $CVSTAG $PHPMOD || exit 4
echo ""

# Export the other modules inside the PHP directory
cd $DIR || exit 5

# Export Zend
$ECHO_N "makedist: exporting tag '$CVSTAG' from '$ZENDMOD'...$ECHO_C"
cvs -z 9 -d $ZENDROOT -Q export -r $CVSTAG $ZENDMOD || exit 4
echo ""

# Export TSRM
$ECHO_N "makedist: exporting tag '$CVSTAG' from '$TSRMMOD'...$ECHO_C"
cvs -z 9 -d $ZENDROOT -Q export -r $CVSTAG $TSRMMOD || exit 4
echo ""

# remove CVS stuff...
find . \( \( -name CVS -type d \) -o -name .cvsignore \) -exec rm -rf {} \;

Expand Down Expand Up @@ -137,11 +127,13 @@ done

cd $MY_OLDPWD
$ECHO_N "makedist: making gzipped tar archive...$ECHO_C"
rm -f $ARCHIVEt.tar.gz
tar cf $ARCHIVE $PKG-$VER || exit 8
gzip -9 $ARCHIVE || exit 9
echo ""

$ECHO_N "makedist: making bz2zipped tar archive...$ECHO_C"
rm -f $ARCHIVEt.tar.bz2
tar cf $ARCHIVE $PKG-$VER || exit 10
bzip2 -9 $ARCHIVE || exit 11
echo ""
Expand Down

0 comments on commit 5ed9e75

Please sign in to comment.