From bb81e5d02df38c940709bc7416ea84620add889a Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Thu, 20 Mar 2014 18:05:41 -0500 Subject: Remove deprecated tar exclude functionality twrpDU::check_skip_dirs() handles skipped folders now. Everywhere twrpTar::setexcl() is being used to exclude files eventually calls createTarFork(), which in turn calls Generate_TarList(), which checks check_skip_dirs(). Change-Id: Ibbc4eb2eb89863ccb2a15f5a3b5092fb10fcbcc0 --- twrpTarMain/twrpTarMain.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'twrpTarMain') diff --git a/twrpTarMain/twrpTarMain.cpp b/twrpTarMain/twrpTarMain.cpp index ef6a5efea..b28a42ea7 100644 --- a/twrpTarMain/twrpTarMain.cpp +++ b/twrpTarMain/twrpTarMain.cpp @@ -122,10 +122,6 @@ int main(int argc, char **argv) { } } - vector excludedirs = du.get_absolute_dirs(); - for (j = 0; j < excludedirs.size(); ++j) { - tar.setexcl(excludedirs.at(j)); - } tar.has_data_media = has_data_media; tar.setdir(Directory); tar.setfn(Tar_Filename); -- cgit v1.2.3