diff options
| author | aszlig <aszlig@redmoonstudios.org> | 2015-07-05 09:25:13 +0200 |
|---|---|---|
| committer | aszlig <aszlig@redmoonstudios.org> | 2015-07-05 09:25:13 +0200 |
| commit | 2467c437b7103f5895c163b56484420c5ecc5553 (patch) | |
| tree | c8e76446e4a5c891dcc620cdbb0f7785b2c4bcb6 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch | |
| parent | e199d9e844e002852e142268fdc1143000dfbf6f (diff) | |
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>
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
