typo in backupninja.1
[matthijs/upstream/backupninja.git] / handlers / trac
index fb5052c1392c97e45aecde0022afe80aba38a4b8..0460c9ff24bd35a17eaeab018b9da7c9ef98458d 100644 (file)
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
 #
 # this handler will backup trac environments (based on the svn handler)
 #
@@ -13,7 +13,12 @@ error=0
 cd $src
 for repo in `find . -name VERSION`
 do
+
     repo=`dirname $repo`
+    if [ "$repo" == "." ]
+    then 
+       repo="" 
+    fi
 
     # Just make the parent directory for $tmp/$repo
     parentdir=`dirname $tmp/$repo`