cache option in config.mk

This commit is contained in:
Connor Lane Smith
2011-01-07 18:54:40 +00:00
parent a8ea79715f
commit d515d2758f
2 changed files with 5 additions and 5 deletions

View File

@ -7,8 +7,6 @@
#include <unistd.h>
#include <sys/stat.h>
#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();