From d1baa4260630e839b7dca1d511f554b6e3c051ff Mon Sep 17 00:00:00 2001 From: Brian Carrier Date: Fri, 12 Feb 2010 18:36:25 +0000 Subject: [PATCH] resolved issues 2779244 and 2932385 that were based on wrong config paths and old flag values --- CHANGES.txt | 6 ++++++ lib/Appsort.pm | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index ede1059054..35ff32f86b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,6 +2,12 @@ 2/12/10: bug fix: resolved issue 2950693 where previous searches were not shown if they used quotes. +2/12/10: bug fix: resolved issue 2932385 where wrong flag was being used +to do only doing category searching" + +2/12/10: bug fix: resolved issue 2779244 where wrong sorter path was +being used. + --------------------------- Version 2.22 -------------------------------- 10/27/09: Update: Change istat to use -B instead of -b (new change in TSK). diff --git a/lib/Appsort.pm b/lib/Appsort.pm index 62f84f6e74..bdf82bfad6 100644 --- a/lib/Appsort.pm +++ b/lib/Appsort.pm @@ -251,7 +251,7 @@ sub run { # If both actions are wanted then no flags are needed $sort_args .= "-e " if (($ext == 1) && ($cat == 0)); - $sort_args .= "-i " if (($ext == 0) && ($cat == 1)); + $sort_args .= "-E " if (($ext == 0) && ($cat == 1)); my $sort_dir = get_sorter_dir(); @@ -259,7 +259,7 @@ sub run { if ( (exists $Args::args{'sorter_img'}) && ($Args::args{'sorter_img'} == 1)) { - my $config = "$::TSKDIR/../share/tsk/sorter/images.sort"; + my $config = "$::TSKDIR/../share/tsk3/sorter/images.sort"; Print::print_err("images configuration file not found ($config)") unless (-e "$config");