mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r13902] Purpose:
Simple code improvement to have more unified code. Tested: in kagiso only since it is a simple script change.
This commit is contained in:
parent
1da2333b4d
commit
47ab8fa29d
@ -19,7 +19,8 @@
|
||||
# MANIFEST.
|
||||
|
||||
verbose=yes
|
||||
MANIFEST=/tmp/H5_MANIFEST.$$
|
||||
MANIFEST=/tmp/HD_MANIFEST.$$
|
||||
SVNENTRY=/tmp/HD_SVNENTRY.$$
|
||||
|
||||
# function definitions
|
||||
|
||||
@ -35,7 +36,6 @@ GETSVNENTRIES_13 ()
|
||||
# 5. remove everything except the file name.
|
||||
# 6. remove all blank lines, including the inserted one.
|
||||
{
|
||||
SVNENTRY=/tmp/H5_SVNENTRY.$$
|
||||
cp $1/entries $SVNENTRY
|
||||
chmod u+w $SVNENTRY # entries file is not writable.
|
||||
ed - $SVNENTRY <<EOF
|
||||
@ -67,7 +67,6 @@ GETSVNENTRIES_14 ()
|
||||
# entry and ed does not like to do g on an empty file.
|
||||
# 5. remove the marks.
|
||||
{
|
||||
SVNENTRY=/tmp/H5_SVNENTRY.$$
|
||||
cp $1/entries $SVNENTRY
|
||||
chmod u+w $SVNENTRY # entries file is not writable.
|
||||
ed - $SVNENTRY <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user