On Thursday 13 January 2005 15:51, Andrzej Krzysztofowicz wrote:
> glen wrote:
> > Index: SPECS/bash-completion.spec
> > diff -u SPECS/bash-completion.spec:1.111 SPECS/bash-completion.spec:1.112
> > --- SPECS/bash-completion.spec:1.111 Thu Jan 13 13:00:37 2005
> > +++ SPECS/bash-completion.spec Thu Jan 13 13:07:13 2005
> > @@ -62,7 +62,7 @@
> >  # check for correct version of bash
> >  bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
> >  if [ "$bmajor" -eq 2 -a "$bminor" '>' 04 ] || [ "$bmajor" -gt 2 ]; then
> > - if [ "$PS1" ] && [ -f %{_sysconfdir}/bash_completion ]; then #
> > interactive shell + if [ "$PS1" ]; then # interactive shell
> >    # Source completion code
> >    . %{_sysconfdir}/bash_completion
> >   fi
>
> One doubt: shouldn't the "$" be \-quoted here?
> (To avoid substitution while parsing specfile.)
nope, it's protected by single quotes: <<'EOF'


-- 
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to