[hackers] [dmenu] whoops, wrong dmenu_path version || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Sat, 14 May 2011 23:12:35 +0200 (CEST)

changeset: 396:623f794abbe1
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Sat May 14 22:12:28 2011 +0100
files: dmenu_path
description:
whoops, wrong dmenu_path version

diff -r 3b1b7ad976b2 -r 623f794abbe1 dmenu_path
--- a/dmenu_path Sat May 14 20:43:11 2011 +0100
+++ b/dmenu_path Sat May 14 22:12:28 2011 +0100
@@ -3,7 +3,7 @@
 IFS=:
 
 if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then
- find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sort -u > "$CACHE"
+ find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
 fi
 
 cat "$CACHE"
Received on Sat May 14 2011 - 23:12:35 CEST

This archive was generated by hypermail 2.2.0 : Sat May 14 2011 - 23:24:04 CEST