From f4eb446bd4d788b0fab699d2d933baf4a841519d Mon Sep 17 00:00:00 2001 From: Cyberium Date: Tue, 20 Dec 2016 19:58:57 +0100 Subject: [PATCH] We can now extract mmap on 8 cpus [skip ci] --- contrib/extractor_scripts/ExtractResources.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/extractor_scripts/ExtractResources.sh b/contrib/extractor_scripts/ExtractResources.sh index 0b42a3dfa1..d05cf88e62 100644 --- a/contrib/extractor_scripts/ExtractResources.sh +++ b/contrib/extractor_scripts/ExtractResources.sh @@ -87,15 +87,15 @@ fi ## MMap Extraction specific if [ "$USE_MMAPS" = "1" ] then - ## Obtain number ob processes - echo "How many CPUs should be used for extracting mmaps? (1-4)" + ## Obtain number of processes + echo "How many CPUs should be used for extracting mmaps? (1, 2, 4, 8)" read line echo - if [ "$line" -ge "1" -a "$line" -le "4" ] + if [[ ($line == 1) || ($line == 2) || ($line == 4) || ($line == 8) ]] then NUM_CPU=$line else - echo "Only number between 1 and 4 supported!" + echo "Only numbers 1,2,4 and 8 are supported!" exit 1 fi ## Extract MMaps delayed?