File adjust_paths.patch of Package firmwarekit

---
 tests.c |   12 ++++++------
 usb.c   |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

--- a/tests.c
+++ b/tests.c
@@ -199,16 +199,16 @@ void sort_results(void)
 
 void dump_results(void)
 {
-	system("mkdir -p results");
-	system("rm -rf results/*.xml results/*.txt");
-	dump_text(all_tests, "results/results.txt");
-	dump_xml_resources("results/resources.xml");
+	system("mkdir -p /var/log/firmwarekit");
+	system("rm -rf /var/log/firmwarekit/*.xml /var/log/firmwarekit/*.txt");
+	dump_text(all_tests, "/var/log/firmwarekit/results.txt");
+	dump_xml_resources("/var/log/firmwarekit/resources.xml");
 	show_results_ui(all_tests);
 }
 void dump_xml_results(void)
 {
-	dump_xml(all_tests, "results/results.xml");
-	dump_xml_resources("results/resources.xml");
+	dump_xml(all_tests, "/var/log/firmwarekit/results.xml");
+	dump_xml_resources("/var/log/firmwarekit/resources.xml");
 }
 
 void show_results(void)
--- a/usb.c
+++ b/usb.c
@@ -82,7 +82,7 @@ void save_on_usb(void)
 			if (system(buffer)!=0)
 				continue;
 		}
-		system("/bin/cp results/* /usbkey &> /dev/null");
+		system("/bin/cp -rf /var/log/firmwarekit /usbkey &> /dev/null");
 		system("/bin/cp acpi.dump /usbkey &> /dev/null");
 		system("/bin/cp DSDT.* /usbkey &> /dev/null");
 		system("/bin/cp *.log /usbkey &> /dev/null");