X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Ftrac;h=0460c9ff24bd35a17eaeab018b9da7c9ef98458d;hb=449e8e12e1b6a3ef808b0c14be0a74436f3fb217;hp=54279241dfa96697dcd365b42760e5d00ea9f62e;hpb=ae09602a2a7befcad7c92ff796af6569c80aead0;p=matthijs%2Fupstream%2Fbackupninja-vserver.git 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`