aboutsummaryrefslogtreecommitdiff
path: root/handlers/trac
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2006-10-07 02:01:47 +0000
committerMicah Anderson <micah@riseup.net>2006-10-07 02:01:47 +0000
commit87143986c078fbdd103a41b3c543bc075bf44fdf (patch)
tree4e843c805da4cfd6028ee4a7bf6002859fe6f855 /handlers/trac
parent054f9fb2ad5d87f99c76ed129b9a85401f97b47e (diff)
downloadbackupninja-87143986c078fbdd103a41b3c543bc075bf44fdf.tar.gz
backupninja-87143986c078fbdd103a41b3c543bc075bf44fdf.tar.bz2
Here is my trac commit
Diffstat (limited to 'handlers/trac')
-rw-r--r--handlers/trac5
1 files changed, 5 insertions, 0 deletions
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`