Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aurélien
backupninja
Commits
01379623
Commit
01379623
authored
Mar 11, 2006
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
Fixed the include=/exclude= improper dereference problem in the dup handler
parent
dc8e99c6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
handlers/dup
+4
-1
4 additions, 1 deletion
handlers/dup
with
6 additions
and
1 deletion
ChangeLog
+
2
−
0
View file @
01379623
...
...
@@ -6,6 +6,8 @@ version 0.9.4 -- unreleased
. Fixed erroneous removal of tmpfile when it didn't exit
rdiff:
. Fixed improper include/exclude symlink dereference
dup:
. Fixed improper include/exclude symlink dereference
lib changes
vserver:
. init_vservers: fixed Debian bug #351083 (improper readlink syntax)
...
...
This diff is collapsed.
Click to expand it.
handlers/dup
+
4
−
1
View file @
01379623
...
...
@@ -118,12 +118,14 @@ set -o noglob
# excludes
for
i
in
$exclude
;
do
i
=
`
readlink
-f
$i
`
str
=
"
${
i
//__star__/*
}
"
execstr
=
"
${
execstr
}
--exclude '
$str
' "
done
# includes
for
i
in
$include
;
do
i
=
`
readlink
-f
$i
`
str
=
"
${
i
//__star__/*
}
"
execstr
=
"
${
execstr
}
--include '
$str
' "
done
...
...
@@ -132,7 +134,8 @@ done
if
[
$usevserver
=
yes
]
;
then
for
vserver
in
$vsnames
;
do
for
vi
in
$vsinclude
;
do
str
=
"
${
vi
//__star__/*
}
"
i
=
`
readlink
-f
$VROOTDIR
/
$vserver$vi
`
str
=
"
${
i
//__star__/*
}
"
execstr
=
"
${
execstr
}
--include '
$VROOTDIR
/
$vserver$str
' "
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment