Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MB-6373: Quote argument to grep

Seems like some shells expand it

Change-Id: Ib5a64fb1a0429906a55bd081257e8f729a51508f
Reviewed-on: http://review.couchbase.org/20015
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information...
commit 23ca06e20c13c824631014c8ecfe53c4984d9386 1 parent 098f64b
@trondn trondn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/ltdtrace.sh
View
4 config/ltdtrace.sh
@@ -20,7 +20,7 @@ do
else
set -e
dir=`dirname $f`
- fname=`grep ^pic_object= $f | cut -f 2 -d\'`
+ fname=`grep '^pic_object=' $f | cut -f 2 -d\'`
cmd="$cmd $dir/$fname"
set +e
fi
@@ -45,4 +45,4 @@ cat > $looutfile <<EOF
# Generated by $ltversion
pic_object='$outfile'
non_pic_object=none
-EOF
+EOF
Please sign in to comment.
Something went wrong with that request. Please try again.