projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changelog completing with proper Closes: Debian bug
[matthijs/upstream/backupninja-vserver.git]
/
handlers
/
trac
diff --git
a/handlers/trac
b/handlers/trac
index 1c1b46463df33d5801d5c9202fd251ec73050cf8..0460c9ff24bd35a17eaeab018b9da7c9ef98458d 100644
(file)
--- a/
handlers/trac
+++ b/
handlers/trac
@@
-1,3
+1,4
@@
+# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
#
# this handler will backup trac environments (based on the svn handler)
#
#
# this handler will backup trac environments (based on the svn handler)
#
@@
-12,7
+13,12
@@
error=0
cd $src
for repo in `find . -name VERSION`
do
cd $src
for repo in `find . -name VERSION`
do
+
repo=`dirname $repo`
repo=`dirname $repo`
+ if [ "$repo" == "." ]
+ then
+ repo=""
+ fi
# Just make the parent directory for $tmp/$repo
parentdir=`dirname $tmp/$repo`
# Just make the parent directory for $tmp/$repo
parentdir=`dirname $tmp/$repo`