Remove a bashism in validate_separate_args()
ChangeLog | 4 ++++
utils/opcontrol | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
Index: oprofile/utils/opcontrol
===================================================================
--- oprofile.orig/utils/opcontrol 2006-10-16 22:58:40.000000000 +0100
+++ oprofile/utils/opcontrol 2006-10-16 23:09:18.000000000 +0100
@@ -485,7 +485,7 @@ validate_separate_args()
SEPARATE_KERNEL=0
SEPARATE_THREAD=0
SEPARATE_CPU=0
- while (($i < $#)); do
+ while [ "$i" -lt "$#" ]; do
shift
case "$1" in
lib|library)
Index: oprofile/ChangeLog
===================================================================
--- oprofile.orig/ChangeLog 2006-10-16 23:05:45.000000000 +0100
+++ oprofile/ChangeLog 2006-10-16 23:13:26.000000000 +0100
@@ -1,3 +1,7 @@
+2006-10-16 Richard Purdie <rpurdie@xxxxxxxxxxxxxx>
+
+ * utils/opcontrol: Remove a bashism in validate_separate_args()
+
2006-10-13 Maynard Johnson <maynardj@xxxxxxxxxx>
* doc/opcontrol.1.in: Document callgraph support for PowerPC
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|