typo in backupninja.1
[matthijs/upstream/backupninja.git] / handlers / trac
index 1c1b46463df33d5801d5c9202fd251ec73050cf8..0460c9ff24bd35a17eaeab018b9da7c9ef98458d 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
 #
 # this handler will backup trac environments (based on the svn handler)
 #
@@ -12,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`