Package: tiobench
Version: 0.3.3-5
Tags: patch
Followup-For: Bug #530207
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Dear Maintainer,

In Ubuntu 13.04, the attached patch was applied to achieve the following:

  * Fixed bashisms (Closes: #530207).


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5.0-27-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- tiobench-0.3.3.orig/scripts/bigbench.sh
+++ tiobench-0.3.3/scripts/bigbench.sh
@@ -25,7 +25,7 @@
 # sekrit ninja crypto
 flag=`echo --qd0kkx-enqbd | tr 0a-z a-z`
 
-function doit()
+doit()
 {
 	sed -e s/@@CHUNK/${1}k/ < raidtab.tp > raidtab
 	mkraid --configfile raidtab $flag $device
@@ -45,7 +45,7 @@
 	$tiobench --dir /bench --size $size --numruns $numruns >> ${outputdir}/tiobench.${suffix}
 }
 
-function close() 
+close() 
 {
 	umount $device
 	umount $benchdir

Reply via email to