Fixed tr construct reporting a warning (Closes: #452669).
authorintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 24 Jun 2008 14:36:52 +0000 (14:36 +0000)
committerintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 24 Jun 2008 14:36:52 +0000 (14:36 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@570 758a04ac-41e6-0310-8a23-8373a73cc35d

ChangeLog
src/backupninja.in

index 2134c3c7da1b56f06756566a2822ff4d16803047..ddce6334ec0fb247c0abe397f4e5b558e0d1a915 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ version 0.9.6 -- unreleased
         . fix bug in cstream definition, thanks Jamie McClelland
         . Allow the entire backup run to be halted by an action, thanks to
           Matthew Palmer (Closes: #455836)
+        . Fixed tr construct reporting a warning (Closes: #452669)
     handler changes
        dup:
         . General cleanup
index 75b892af5f4a7b19d2ec23a3cb859d449f4433f4..47630f282dc01572830e9b79d0ee5ba2159442b5 100755 (executable)
@@ -180,7 +180,7 @@ function check_perms() {
 
 # simple lowercase function
 function tolower() {
-       echo "$1" | tr [:upper:] [:lower:]
+       echo "$1" | tr '[:upper:]' '[:lower:]'
 }
 
 # simple to integer function