diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-22 20:01:41 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-22 20:01:41 +0000 |
commit | dd88e91fa3eefbd3b4fd6b352b388c20a9fe48e6 (patch) | |
tree | db70b599cfde7c32cfee33dc6c0bb56247b27cee /contrib/mtn2cl | |
parent | cbb424ff4cf3f848d9bf594092da0f029fd68b52 (diff) |
mtn2cl.sh: Quote args properly, or mtn chokes on "1 week ago".
Diffstat (limited to 'contrib/mtn2cl')
-rwxr-xr-x | contrib/mtn2cl/mtn2cl.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mtn2cl/mtn2cl.sh b/contrib/mtn2cl/mtn2cl.sh index 416d393ccd..15d2722a8b 100755 --- a/contrib/mtn2cl/mtn2cl.sh +++ b/contrib/mtn2cl/mtn2cl.sh @@ -11,7 +11,7 @@ else export OLD_REV="l:\"1 week ago\"" fi -for i in `mtn log --brief --no-graph --no-merges --to ${OLD_REV} --from ${REV_NOW}| awk '{print $2 ":" $1}'` ; do \ +for i in `mtn log --brief --no-graph --no-merges --to "${OLD_REV}" --from "${REV_NOW}"| awk '{print $2 ":" $1}'` ; do \ export REV=`echo $i | awk -F: '{print $2}'` export AUTHOR=`echo $i | awk -F: '{print $1}'` export CL=`mtn ls certs ${REV} | grep -A 1 changelog | grep -v changelog | gawk -F'Value : ' '{ print $2 }'` |