changeset: 398:57ad038884b4
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Sat May 14 23:14:31 2011 +0100
files: dmenu_path
description:
follow symlinks
diff -r 9e93ef85dc21 -r 57ad038884b4 dmenu_path
--- a/dmenu_path Sat May 14 22:43:42 2011 +0100
+++ b/dmenu_path Sat May 14 23:14:31 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 \) | sed 's/.*\///' | sort -u > "$CACHE"
+ find -L $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
fi
cat "$CACHE"
Received on Sun May 15 2011 - 00:14:37 CEST
This archive was generated by hypermail 2.2.0 : Sun May 15 2011 - 00:24:04 CEST