mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r1514] ./bin/release [1.2, 1.3]
The SunOS 5.6 version of `sed' must have slashes as delimiters so I made sure that's all that's used in this script even though it makes one pattern almost unreadable.
This commit is contained in:
parent
1285b17e96
commit
9ab6d3211c
@ -30,6 +30,10 @@
|
||||
# /tmp/hdf5-1.0.38.tar.gz
|
||||
# /tmp/hdf5-1.0.38.tar.bz2
|
||||
#
|
||||
# Modifications
|
||||
# Robb Matzke, 1999-07-16
|
||||
# The SunOS 5.6 sed *must* have slashes as delimiters. I changed things like
|
||||
# `sed s+/CVS++' to `sed 's/\/CVS//'
|
||||
|
||||
# Defaults
|
||||
DEST=releases
|
||||
@ -88,7 +92,7 @@ for file in `cat $MANIFEST`; do
|
||||
fi
|
||||
done
|
||||
for cvs in `find . -type d -name CVS -print`; do
|
||||
path=`echo $cvs |sed s+/CVS++`
|
||||
path=`echo $cvs |sed 's/\/CVS//`
|
||||
for file in `grep '^\/' $cvs/Entries |cut -d/ -f2`; do
|
||||
if (grep $path/$file $MANIFEST >/dev/null); then
|
||||
:
|
||||
@ -137,7 +141,7 @@ test "$verbose" && echo " Running tar..." 1>&2
|
||||
( \
|
||||
cd ..; \
|
||||
tar cf x.tar hdf5-$VERS/Makefile \
|
||||
`sed s+^\./+hdf5-$VERS/+ $MANIFEST` || exit 1 \
|
||||
`sed 's/^\.\//hdf5-'$VERS'\//' $MANIFEST` || exit 1 \
|
||||
)
|
||||
|
||||
# Compress
|
||||
|
Loading…
Reference in New Issue
Block a user