nixpkgs/pkgs/tools/X11
aszlig 2467c437b7
xdg_utils: Fix wrong substitution of grep command.
Fixes regression introduced by 16406e63b3.

Not replacing "egrep" with a negated character class on [^e] needs to be
put back into the replacement, because if we have something like:

foo="$(grep xxx)"

The replacement would be something like this:

foo="$/nix/store/.../bin/grep xxx)"

Which will lead to wrong behavior and in cases of for example
"xdg-screensaver", even directly to a syntax error:

xdg-screensaver: line 178: syntax error near unexpected token `('
xdg-screensaver: line 178: `command="/nix/store/.../bin/grep -E
                            "^Exec(\[[^]=]*])?=" "$file" |
                            /nix/store/.../bin/cut -d= -f 2- |
                            first_word`"'

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-07-05 09:25:13 +02:00
..
arandr
autocutsel
bgs
bumblebee
ckbcomp ckbcomp: init at 1.129 2015-06-22 15:32:42 +03:00
hsetroot
keynav
nitrogen
obconf
primus
ratmen A comment about the license 2015-06-14 23:26:58 +03:00
screen-message
skippy-xd Adding Skippy-XD window switcher 2015-06-14 23:26:58 +03:00
sselp
vdpauinfo
virtualgl
winswitch
wmctrl
wmutils-core
x2vnc
x2x
x11vnc
xbindkeys
xbindkeys-config
xbrightness
xcalib
xcape xcape: bump to latest revision 2015-06-10 14:37:49 +02:00
xchainkeys
xdg-user-dirs
xdg-utils xdg_utils: Fix wrong substitution of grep command. 2015-07-05 09:25:13 +02:00
xdotool
xinput_calibrator
xkb-switch
xlaunch
xmacro
xnee
xpra
xrestop
xsettingsd
xtrace
xvkbd
xwinmosaic Add xwinmosaic window switcher 2015-06-14 23:26:58 +03:00