From d0ea7b7ebc7ed37d2c547b64c8e352b7c83b2111 Mon Sep 17 00:00:00 2001 From: micah Date: Sat, 7 Oct 2006 02:01:47 +0000 Subject: [PATCH] Here is my trac commit git-svn-id: http://code.autistici.org/svn/backupninja/trunk@439 758a04ac-41e6-0310-8a23-8373a73cc35d --- ChangeLog | 3 ++- handlers/trac | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6b7479d..a8be062 100644 --- a/ChangeLog +++ b/ChangeLog @@ -70,9 +70,10 @@ version 0.9.4 -- unreleased . Removed warning about vserver not running (thanks anarcat) ldap: . Compress now happens in-line to save some disk space (Closes: #370778) - . ldaphost and tls options added for ldapsearch method (Closes: #362027) makecd: . Added nicelevel option (thanks rhatto) + trac: + . fixed problem when src was set to the trac repo directly (Closes: #382737) lib changes vserver: . init_vservers: fixed Debian bug #351083 (improper readlink syntax) 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` -- 2.30.2