Here is my trac commit
authorMicah Anderson <micah@riseup.net>
Sat, 7 Oct 2006 02:01:47 +0000 (02:01 +0000)
committerMicah Anderson <micah@riseup.net>
Sat, 7 Oct 2006 02:01:47 +0000 (02:01 +0000)
ChangeLog
handlers/trac

index 6b7479d6e7fe8d91de47e74e2371fe57a2307edc..a8be06226403c088936af85c31af704a5eb3e480 100644 (file)
--- 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)
index 54279241dfa96697dcd365b42760e5d00ea9f62e..0460c9ff24bd35a17eaeab018b9da7c9ef98458d 100644 (file)
@@ -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`