From 488f2208485023950a4ba284d97167f13c2907f6 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 10 Sep 2006 14:07:59 +0000 Subject: Add --wildcards to cope with latest GNU tar (and indeed anything modern and POSIX compliant). --- plpbackup/plpbackup.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plpbackup/plpbackup.cc b/plpbackup/plpbackup.cc index 96d8a21..8200666 100644 --- a/plpbackup/plpbackup.cc +++ b/plpbackup/plpbackup.cc @@ -863,7 +863,7 @@ runRestore() struct timeval start_tv, end_tv, cstart_tv, cend_tv; for (i = 0; i < archList.size(); i++) { - tarcmd << "tar --to-stdout -xzf " << archList[i] + tarcmd << "tar --to-stdout --wildcards -xzf " << archList[i] << " 'KPsion*Index'" << ends; char backupType = '?'; FILE *f = popen(tarcmd.str().c_str(), "r"); -- cgit v1.2.3