diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2007-04-18 21:37:13 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2007-04-18 21:37:13 (GMT) |
commit | 2645021a3d2cfd5716f5cdd8e71b0560aaef59c4 (patch) | |
tree | b7550703566bd1fb457c30319909fc70391537be /bin | |
parent | bec07347e0ed245051ed0b901e5e42a3244280aa (diff) | |
download | hdf5-2645021a3d2cfd5716f5cdd8e71b0560aaef59c4.zip hdf5-2645021a3d2cfd5716f5cdd8e71b0560aaef59c4.tar.gz hdf5-2645021a3d2cfd5716f5cdd8e71b0560aaef59c4.tar.bz2 |
[svn-r13686] Improvement.
Added a clarification the environment variables dumping is BEFORE command option
parsing. Also added a dumping AFTER the option parsing.
Tested:
Just eyeballed since it is trival. Let daily tests runs to test it.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/snapshot | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/snapshot b/bin/snapshot index 0b33172..5268ab5 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -53,10 +53,10 @@ uname -a # setup exit banner message trap EXIT_BANNER 0 -# Dump environment variables -echo ===Dumping environment variables=== +# Dump environment variables before option parsing +echo ===Dumping environment variables before option parsing === printenv | sort -echo ===Done Dumping environment variables=== +echo ===Done Dumping environment variables before option parsing === # snapshots release directory. Default relative to $BASEDIR. ReleaseDir_default=release_dir @@ -222,6 +222,11 @@ while [ $# -gt 0 ] ; do shift done +# Dump environment variables after option parsing +echo ===Dumping environment variables after option parsing === +printenv | sort +echo ===Done Dumping environment variables after option parsing === + if [ "$cmd" = help ]; then set - cat <<EOF |