mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-11 16:01:00 +08:00
[svn-r26428] Merge of r26424 from the autotools_rework branch.
Made the chkmanifest script a little more sh-friendly. Tested: Manually on jam by modifying svn-controlled files
This commit is contained in:
parent
52607ae900
commit
88ac8e8929
@ -79,12 +79,14 @@ done
|
||||
#
|
||||
# First get a list of all the pending files with svn stat and
|
||||
# check those.
|
||||
svn_stat="$(svn stat -q)"
|
||||
svn_stat=`svn stat -q`
|
||||
for file in $svn_stat; do
|
||||
|
||||
# Newly added files are not listed by svn ls, which
|
||||
# we check below..
|
||||
# The line listing them starts with 'A'.
|
||||
letter="$(echo $file | head -c 1)"
|
||||
# we check later.
|
||||
|
||||
# The line listing new files starts with 'A'.
|
||||
letter=`echo $file | head -c 1`
|
||||
if [ "$letter" = "A" ]; then
|
||||
# Convert the seven Subversion status columns to './' so it matches
|
||||
# the manifest file name.
|
||||
@ -106,7 +108,7 @@ done
|
||||
|
||||
# Next check svn ls, which gets a list of all files that are
|
||||
# checked in.
|
||||
svn_ls="$(svn ls -R)"
|
||||
svn_ls=`svn ls -R`
|
||||
for file in $svn_ls; do
|
||||
path="./${file}"
|
||||
# Ignore directories
|
||||
|
Loading…
Reference in New Issue
Block a user