|
|
@@ -53,24 +53,26 @@ foreach(i RANGE ${length})
|
|
|
endforeach()
|
|
|
|
|
|
has_key_index(staticSystemInformation "${contents}" ${hasStaticInfo})
|
|
|
-has_key_index(OSName "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(OSPlatform "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(OSRelease "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(OSVersion "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(familyId "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(hostname "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(is64Bits "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(modelId "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(numberOfLogicalCPU "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(numberOfPhysicalCPU "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(processorAPICID "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(processorCacheSize "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(processorClockFrequency "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(processorName "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(totalPhysicalMemory "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(totalVirtualMemory "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(vendorID "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
-has_key_index(vendorString "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+if (NOT hasStaticInfo STREQUAL UNEXPECTED)
|
|
|
+ has_key_index(OSName "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(OSPlatform "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(OSRelease "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(OSVersion "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(familyId "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(hostname "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(is64Bits "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(modelId "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(numberOfLogicalCPU "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(numberOfPhysicalCPU "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(processorAPICID "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(processorCacheSize "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(processorClockFrequency "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(processorName "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(totalPhysicalMemory "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(totalVirtualMemory "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(vendorID "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+ has_key_index(vendorString "${staticSystemInformation}" ${hasStaticInfo})
|
|
|
+endif()
|
|
|
|
|
|
get_filename_component(dataDir ${index} DIRECTORY)
|
|
|
get_filename_component(v1 ${dataDir} DIRECTORY)
|