From 2cd799e5ec32a2cf19f65d8db198a1a808e7832a Mon Sep 17 00:00:00 2001 From: avandeve Date: Fri, 26 Dec 2014 10:48:24 -0500 Subject: [PATCH] one more typo --- configure.ac | 2 +- src/server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c5f51d0..0013885 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.66]) -AC_INIT(clr-debug-info, 9, arjan@linux.intel.com) +AC_INIT(clr-debug-info, 10, arjan@linux.intel.com) AM_INIT_AUTOMAKE([foreign -Wall -W]) AM_SILENT_RULES([yes]) AC_PROG_CC diff --git a/src/server.c b/src/server.c index 261f30c..8e4d40c 100644 --- a/src/server.c +++ b/src/server.c @@ -124,7 +124,7 @@ static int curl_get_file(const char *url, const char *prefix, time_t timestamp) memset(&statbuf, 0, sizeof(statbuf)); stat(filename, &statbuf); - if (statbuf.st_size > 0 && asprintf(&command, "tar -C /usr/%s/.debug --no-same-owner -xf %s", prefix, filename) >= 0) { + if (statbuf.st_size > 0 && asprintf(&command, "tar -C /var/cache/debuginfo/%s --no-same-owner -xf %s", prefix, filename) >= 0) { system(command); free(command); }