ldap/admin/src/scripts/70upgradednformat.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit e6723421e6dc69408edb2a396eb22da361cff206
Author: Noriko Hosoi <nhosoi(a)redhat.com>
Date: Mon Jul 19 11:18:03 2010 -0700
616135 - Upgrade failure on Solaris :
tar: db/NetscapeRoot/{DBVERSION,*.db4}: No such file or directory
https://bugzilla.redhat.com/show_bug.cgi?id=616135
Fix Description:
.../'{'DBVERSION,*.db4'}' is not a shell syntax. Process DBVERSION
and *.db4 individually.
diff --git a/ldap/admin/src/scripts/70upgradednformat.pl
b/ldap/admin/src/scripts/70upgradednformat.pl
index 100a318..8364bdd 100644
--- a/ldap/admin/src/scripts/70upgradednformat.pl
+++ b/ldap/admin/src/scripts/70upgradednformat.pl
@@ -109,7 +109,8 @@ sub runinst {
my $rc = 0;
if (system("cd $pdbdir; tar cf - db/DBVERSION | (cd $dbinstdir; tar
xf -)") ||
- system("cd $pdbdir; tar cf - db/$instname/{DBVERSION,*.db4} |
(cd $dbinstdir; tar xf -)")) {
+ system("cd $pdbdir; tar cf - db/$instname/DBVERSION | (cd
$dbinstdir; tar xf -)") ||
+ system("cd $pdbdir; tar cf - db/$instname/*.db4 | (cd
$dbinstdir; tar xf -)")) {
push @errs, ["error_cant_backup_db", $backend, $!];
return @errs;
}