move the branches directories up to the root of the repository
[matthijs/upstream/backupninja.git] / src / backupninja.in
index 25f4e1140b3f8f8e6cc23a5928a9904e7a364ed3..afb9556cefcba57a5a68c511eb874ae709afb871 100755 (executable)
@@ -185,7 +185,7 @@ function tolower() {
 
 # simple to integer function
 function toint() {
-       echo "$1" | tr -d '[:alpha:]'
+       echo "$1" | tr -d '[:alpha:]' 
 }
 
 #
@@ -561,7 +561,7 @@ if [ $doit == 1 ]; then
                        previous=""
                        for i in $(ls "$configdirectory"); do
                        backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}')
-                       if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then
+                        if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then
                                df -h "$backuploc"
                                previous="$backuploc"
                        fi