nixpkgs/pkgs/tools
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
..
admin gtk-vnc: fix .la file 2015-06-25 15:14:54 +02:00
archivers cabextract: update from 1.4 to 1.6 2015-05-29 19:52:03 +02:00
audio Convert all jack references to libjack2 2015-06-27 00:17:52 -07:00
backup attic: 0.15 -> 0.16 2015-06-21 06:47:40 +02:00
bluetooth Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
bootloaders/refind refind: Fix build on i686 2015-04-27 15:24:24 +03:00
cd-dvd dvdisaster: Fix description 2015-04-30 12:08:54 +02:00
compression lz4 130 -> 131 2015-06-30 09:49:52 +02:00
filesystems GlusterFS: update 3.7.1 -> 3.7.2 2015-07-05 00:32:53 +03:00
graphics Merge pull request #8394 from mbakke/maim 2015-06-19 15:22:20 +01:00
inputmethods ibus-table-others: init at 1.3.7, closes #8460 2015-06-22 18:25:45 +02:00
misc cloc: 1.62 -> 1.64 2015-07-01 20:42:44 +02:00
networking Mailsend: update 1.17b15 -> 1.18 2015-07-05 00:32:54 +03:00
package-management nox: show trace for evaluation errors 2015-07-03 04:52:06 +02:00
security tmp-luks: init at 0.9pre 2015-07-04 23:57:59 +02:00
system stress-ng: 0.04.07 -> 0.04.10 2015-07-03 04:08:49 +02:00
text highlight: fixes an issue locating the default conf_dir, closes #8385 2015-06-24 17:19:56 +02:00
typesetting Don't build texLive in Hydra 2015-06-25 17:34:08 +02:00
video rtmpdump_gnutls: add missing lib nettle & use git date format 2015-06-01 13:19:08 +02:00
virtualization
X11 xdg_utils: Fix wrong substitution of grep command. 2015-07-05 09:25:13 +02:00