From: intrigeri Date: Tue, 24 Jun 2008 14:36:52 +0000 (+0000) Subject: Fixed tr construct reporting a warning (Closes: #452669). X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=c4d02c0664b2a2fd245e7fa57e190ac68ce8253d;p=matthijs%2Fupstream%2Fbackupninja.git Fixed tr construct reporting a warning (Closes: #452669). git-svn-id: http://code.autistici.org/svn/backupninja/trunk@570 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/ChangeLog b/ChangeLog index 2134c3c..ddce633 100644 --- 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 diff --git a/src/backupninja.in b/src/backupninja.in index 75b892a..47630f2 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -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