[packages/grep] - move from GREP_OPTIONS environmental variable to alias due to its obsolescence
Elan Ruusamäe
glen at pld-linux.org
Mon Dec 8 22:12:16 CET 2014
On 08.12.2014 22:44, adwol wrote:
> commit 274761483d541b779ab9135532aecf8aadc550e8
> Author: Adam Osuchowski <adwol at pld-linux.org>
> Date: Mon Dec 8 21:41:18 2014 +0100
>
> - move from GREP_OPTIONS environmental variable to alias due to its
> obsolescence
a reference to such "obsolescence" ?
> -cat << EOF >$RPM_BUILD_ROOT/etc/env.d/GREP_OPTIONS
> -#GREP_OPTIONS="--binary-files=without-match --directories=skip --color=auto"
> +cat << EOF >$RPM_BUILD_ROOT/etc/shrc.d/grep.sh
> +alias grep='/bin/grep --binary-files=without-match --devices=skip --directories=skip --color=auto'
> +EOF
> +cat << EOF >$RPM_BUILD_ROOT/etc/shrc.d/grep.csh
> +alias grep '/bin/grep --binary-files=without-match --devices=skip --directories=skip --color=auto'
> EOF
>
this definately is not the same thing as it was before! restore previous
behaviour by *not* enforcing such options!
--
glen
More information about the pld-devel-en
mailing list