]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added double quotes around a shell function argument.
authorBart Van Assche <bvanassche@acm.org>
Sun, 7 Sep 2008 17:10:07 +0000 (17:10 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 7 Sep 2008 17:10:07 +0000 (17:10 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8579

drd/scripts/measurement-functions

index f36b01fb1168d6cdd83733e3f55e3cc13ade0e55..dbbee6ca51bcc4ff9d1b16fdeb43f4a747351202 100644 (file)
@@ -10,7 +10,7 @@ function log2 {
 
   for ((i=0;i<64;i++))
   do
-    if [ $((2**i)) = $1 ]; then
+    if [ $((2**i)) = "$1" ]; then
       echo $i
       return 0
     fi