summaryrefslogtreecommitdiffstats
path: root/bin/chkmanifest
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-03-11 06:39:48 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-03-11 06:39:48 (GMT)
commit52607ae9004a01637dbfc411fd9c0a382f4e3f99 (patch)
tree58dbdc111ea6ca3ae8dc07d0742beb5a20b6f47e /bin/chkmanifest
parent3ed20376e058b8d17c9c91d2c06107fcb67a0c3c (diff)
downloadhdf5-52607ae9004a01637dbfc411fd9c0a382f4e3f99.zip
hdf5-52607ae9004a01637dbfc411fd9c0a382f4e3f99.tar.gz
hdf5-52607ae9004a01637dbfc411fd9c0a382f4e3f99.tar.bz2
[svn-r26427] Revert of r26426
The repository wasn't clean when I made some changes so untested code was committed.
Diffstat (limited to 'bin/chkmanifest')
-rwxr-xr-xbin/chkmanifest12
1 files changed, 5 insertions, 7 deletions
diff --git a/bin/chkmanifest b/bin/chkmanifest
index 646f815..8abd8ea 100755
--- a/bin/chkmanifest
+++ b/bin/chkmanifest
@@ -79,14 +79,12 @@ 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 later.
-
- # The line listing new files starts with 'A'.
- letter=`echo $file | head -c 1`
+ # we check below..
+ # The line listing them 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.
@@ -108,7 +106,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