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

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
..
applications urxvt-perl: init at 2015-01-16 2015-07-05 00:12:50 -04:00
build-support Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
data powerline-fonts: bump to latest revision 2015-06-29 09:45:55 +02:00
desktops zenity: 3.14.0 -> 3.16.3 2015-07-01 00:41:57 -07:00
development cudatoolkit: generalize derivations, add cuda7 2015-07-04 17:05:50 -07:00
games zandronum: 2.0 -> 2.1 2015-07-03 23:30:52 -07:00
misc Wine: unstable, staging: update 1.7.43 -> 1.7.46; remove updater scripts because with the new layout they don't work anyway 2015-07-05 00:32:54 +03:00
os-specific perf-tools: update to a fresher git snapshot 2015-07-05 00:32:54 +03:00
servers Merge pull request #8613 from benley/prometheus 2015-07-05 01:08:41 +03:00
shells es: bugfix for man page install 2015-06-24 11:36:02 -05:00
stdenv Revert "curl: Modernize build" 2015-06-04 14:54:52 +02:00
test
tools xdg_utils: Fix wrong substitution of grep command. 2015-07-05 09:25:13 +02:00
top-level urxvt-perl: init at 2015-01-16 2015-07-05 00:12:50 -04:00