X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Ftrac;h=0460c9ff24bd35a17eaeab018b9da7c9ef98458d;hp=54279241dfa96697dcd365b42760e5d00ea9f62e;hb=87143986c078fbdd103a41b3c543bc075bf44fdf;hpb=054f9fb2ad5d87f99c76ed129b9a85401f97b47e diff --git a/handlers/trac b/handlers/trac index 5427924..0460c9f 100644 --- a/handlers/trac +++ b/handlers/trac @@ -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`