3
0
Fork 0
forked from mirrors/nixpkgs
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 bgs: update from 0.7 to 0.7.1 2015-05-12 17:24:50 +02:00
bumblebee Bumblebee config to enable multiple monitors 2014-12-30 19:17:42 -08:00
ckbcomp ckbcomp: init at 1.129 2015-06-22 15:32:42 +03:00
hsetroot hsetroot: fix libX11 error 2015-02-20 20:49:33 -05:00
keynav keynav: update from 0.20101014.3067 to 0.20110708.0 2014-09-26 22:00:26 +02:00
nitrogen
obconf
primus Turned some meta.maintainers into lists 2015-05-14 19:09:43 +02:00
ratmen A comment about the license 2015-06-14 23:26:58 +03:00
screen-message Add new package screen-message 2015-02-19 19:19:33 +01:00
skippy-xd Adding Skippy-XD window switcher 2015-06-14 23:26:58 +03:00
sselp Fix user-facing typos (mainly in descriptions) 2014-12-30 03:31:03 +01:00
vdpauinfo vdpauinfo: 0.9 -> 1.0 2015-03-26 13:59:24 -07:00
virtualgl Turn more licenses into lib.licenses style 2014-11-06 00:48:16 +00:00
winswitch
wmctrl
wmutils-core wmutils-core: add to tools/X11 (close #6585) 2015-03-08 15:46:02 +01:00
x2vnc
x2x
x11vnc
xbindkeys
xbindkeys-config New package: xbindkeys-config 2015-02-09 01:36:01 -08:00
xbrightness xbrightness: remove unnecessary x11 parameter 2015-01-16 20:37:22 -03:00
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 Fix license attribute of many bsd-like licensed packages 2014-12-21 00:00:35 +01:00
xinput_calibrator
xkb-switch xkb-switch: Update 2015-01-04 02:48:05 +03:00
xlaunch Adopt a few packages 2014-11-05 11:56:19 +03:00
xmacro change md5sum to sha256sum for a few packages 2014-10-12 16:13:21 +02:00
xnee
xpra Fix/update Xpra 2015-02-25 01:09:39 +01:00
xrestop
xsettingsd Add xsettingsd. 2015-06-04 09:16:05 +00:00
xtrace
xvkbd xvkbd: set meta.platforms 2014-11-19 12:40:32 +01:00
xwinmosaic Add xwinmosaic window switcher 2015-06-14 23:26:58 +03:00