summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-03-11 06:40:54 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-03-11 06:40:54 (GMT)
commit88ac8e8929f6fd99732a1e08ced4ea82bfb230f1 (patch)
treef0900ff6e463f24f6ffa398a61c2cca2760c2248 /bin
parent52607ae9004a01637dbfc411fd9c0a382f4e3f99 (diff)
downloadhdf5-88ac8e8929f6fd99732a1e08ced4ea82bfb230f1.zip
hdf5-88ac8e8929f6fd99732a1e08ced4ea82bfb230f1.tar.gz
hdf5-88ac8e8929f6fd99732a1e08ced4ea82bfb230f1.tar.bz2
[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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chkmanifest12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/chkmanifest b/bin/chkmanifest
index 8abd8ea..646f815 100755
--- a/bin/chkmanifest
+++ b/bin/chkmanifest
@@ -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