summaryrefslogtreecommitdiffstats
path: root/tools/misc/h5redeploy.in
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-05-29 13:33:02 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-05-29 13:33:02 (GMT)
commit7f54723d9948914dd56f55096fa79e56a3242d8f (patch)
treeedf552187d73c9f4aa8963a294d2403968ea3f03 /tools/misc/h5redeploy.in
parent591902a623c5e83260e34871ec2593bd3cae187b (diff)
downloadhdf5-7f54723d9948914dd56f55096fa79e56a3242d8f.zip
hdf5-7f54723d9948914dd56f55096fa79e56a3242d8f.tar.gz
hdf5-7f54723d9948914dd56f55096fa79e56a3242d8f.tar.bz2
[svn-r6922] Purpose:
bug fix Description: Not all echo commands honors the '-n' option. In those cases, the output look weired though recognizable. Solution: Eliminated the use of -n option. A better fix would be having configure to set the proper use of the echo command. Platforms tested: only on sasn100 (a sun frontend of Janus). No committest since this is just a simple shell script change.
Diffstat (limited to 'tools/misc/h5redeploy.in')
-rwxr-xr-xtools/misc/h5redeploy.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/misc/h5redeploy.in b/tools/misc/h5redeploy.in
index 9423729..9e06de6 100755
--- a/tools/misc/h5redeploy.in
+++ b/tools/misc/h5redeploy.in
@@ -50,9 +50,8 @@ show_action()
echo "Update the following tools because they are now installed at a new directory"
for t in $foundtools; do
echo "${t}:"
- echo -n " current setting="
- sed -e "/^prefix=/s/prefix=//p" -e d $t
- echo " new setting="\""$prefix"\"
+ echo " current setting=`sed -e '/^prefix=/s/prefix=//p' -e d $t`"
+ echo " new setting="\""$prefix"\"
done
}
@@ -126,7 +125,7 @@ fi
show_action
# Ask confirmation unless fmode is on
if [ x-$fmode = x- ]; then
- echo -n "Continue? (yes/no)"
+ echo "Continue? (yes/no)"
read ansx
ans=`echo $ansx | tr "[A-Z]" "[a-z]"`
if [ x-$ans != x-yes ]; then