From d515d2758fab55809ef9dcb9b1b8dfb18a5b1606 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Fri, 7 Jan 2011 18:54:40 +0000 Subject: cache option in config.mk --- dmenu_path.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dmenu_path.c') diff --git a/dmenu_path.c b/dmenu_path.c index 8df2667..407477a 100644 --- a/dmenu_path.c +++ b/dmenu_path.c @@ -7,8 +7,6 @@ #include #include -#define CACHE ".dmenu_cache" - static void die(const char *s); static int qstrcmp(const void *a, const void *b); static void scan(void); @@ -26,7 +24,7 @@ main(void) { if(chdir(home) < 0) die("chdir failed"); if(uptodate()) { - execlp("cat", "cat", CACHE, NULL); + execl("/bin/cat", "cat", CACHE, NULL); die("exec failed"); } scan(); -- cgit v1.2.3