Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
awit-dbackup
awit-dbackup
Commits
ebac439a
Commit
ebac439a
authored
Jul 11, 2014
by
Nigel Kukard
Browse files
Cosmetic syntax fixups
parent
d2298f0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbackup
View file @
ebac439a
...
...
@@ -380,6 +380,7 @@ if (checkPATH("pdlzip")) {
$config
{'
compress-lz
'}
=
"
plzip
";
}
# Sanitize the source and dest
my
$sourceDir
=
File::
Spec
->
rel2abs
(
$ARGV
[
0
]);
my
$destDir
=
File::
Spec
->
rel2abs
(
$ARGV
[
1
]);
...
...
@@ -923,8 +924,7 @@ sub backup
# exit 1;
}
}
# if (($doBackup{$path} & ST_DIR_SYS) != ST_DIR_SYS) {
}
else
{
}
else
{
# if (($doBackup{$path} & ST_DIR_SYS) != ST_DIR_SYS) {
# Remove old files
removeBackups
(
"
$dest
/
$path
",
...
...
@@ -1089,6 +1089,7 @@ if (defined($optctl{'backup'})) {
}
# Restore function
sub
restore
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment