[prev in list] [next in list] [prev in thread] [next in thread]
List: oprofile-commits
Subject: [oprof-cvs] CVS: oprofile/utils opcontrol,1.157,1.158
From: "Maynard Johnson" <maynardj () users ! sourceforge ! net>
Date: 2009-05-13 15:52:25
Message-ID: E1M4Gkr-00054e-CV () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/oprofile/oprofile/utils
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19436/utils
Modified Files:
opcontrol
Log Message:
Replace bash built-in let with posix statements
Index: opcontrol
===================================================================
RCS file: /cvsroot/oprofile/oprofile/utils/opcontrol,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -p -d -r1.157 -r1.158
--- opcontrol 17 Apr 2009 18:47:50 -0000 1.157
+++ opcontrol 13 May 2009 15:52:23 -0000 1.158
@@ -1385,7 +1385,7 @@ do_param_setup()
else
set_ctr_param $CTR enabled 1
set_ctr_param $CTR event $EVENT_VAL
- let loop_count=1
+ loop_count=1
for i in ${EVENT_STR}; do
#Skip first argument of EVENT_STR (event val) since we've already
#processed that value.
@@ -1394,7 +1394,7 @@ do_param_setup()
VAL=`echo $i | awk -F: '{print $2}'`
set_ctr_param "" $KEY $VAL
fi
- let loop_count="$loop_count"+1
+ loop_count=$((loop_count+1))
done
set_ctr_param $CTR count $COUNT
set_ctr_param $CTR kernel $KERNEL
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic