Package: backupninja
Version: 0.9.4-6
Tags: patch

Hi,

In

https://bugs.launchpad.net/ubuntu/+source/backupninja/+bug/60286

it was reported that a tr construct reports a warning. The
following patch from Matti Lindell fixes it. Please consider applying
it.

Thanks,

James

--- 0.9.4-6/src/backupninja.in  2007-09-21 20:09:52.000000000 +0100
+++ 0.9.4-6ubuntu4/src/backupninja.in   2007-09-21 20:09:18.000000000
+0100
@@ -173,12 +173,12 @@ function check_perms() {
 
 # simple lowercase function
 function tolower() {
-       echo "$1" | tr [:upper:] [:lower:]
+       echo "$1" | tr '[:upper:]' '[:lower:]'
 }
 
 # simple to integer function
 function toint() {
-       echo "$1" | tr -d [:alpha:] 
+       echo "$1" | tr -d '[:alpha:]'
 }
 
 #




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to