follow symlinks a662fc6e
Connor Lane Smith · 2011-05-14 23:14 1 file(s) · +1 −1
dmenu_path +1 −1
3 3
IFS=:
4 4
5 5
if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then
6 -
	find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
6 +
	find -L $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
7 7
fi
8 8
9 9
cat "$CACHE"