~ubuntu-branches/ubuntu/lucid/bash/lucid

« back to all changes in this revision

Viewing changes to debian/patches/bash32-039-doc.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-08-24 12:06:59 UTC
  • mfrom: (1.3.2 upstream) (2.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090824120659-gmp1uuy2w9k2st53
Tags: 4.0-4ubuntu1
* Merge with Debian; remaining changes:
  - Build from the upstream sources, build the documentation in info format.
  - /etc/skel/.bashrc: eval lesspipe.
* Changes to the skeleton .bashrc:
  - Source .bash_aliases after defining aliases. LP: #400686.
  - Enable color support for grep. LP: #386502.
* The bash docs now  describe uname -s not having any effect on many
  systems. LP: #378595.
* Don't ship an info dir file. LP: #358932.
* Fix some lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
 
3
 
if [ $# -eq 3 -a "$2" = '-d' ]; then
4
 
    pdir="-d $3"
5
 
elif [ $# -ne 1 ]; then
6
 
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7
 
    exit 1
8
 
fi
9
 
case "$1" in
10
 
    -patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11
 
    -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
12
 
    *)
13
 
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14
 
        exit 1
15
 
esac
16
 
exit 0
17
 
 
18
 
# DP: bash-3.2 upstream patch bash32-039 (documentation)
19
 
 
20
 
                             BASH PATCH REPORT
21
 
                             =================
22
 
 
23
 
Bash-Release: 3.2
24
 
Patch-ID: bash32-039
25
 
 
26
 
Bug-Reported-by:        rew@erebor.com
27
 
Bug-Reference-ID:       <20070119065603.546D011E9C@kansas.erebor.com>
28
 
Bug-Reference-URL:      
29
 
 
30
 
Bug-Description:
31
 
 
32
 
Bash-3.2 changed the behavior of the [[ command's `=~' operator when the
33
 
right-hand side was quoted:  it matched the quoted portions as strings.
34
 
This patch introduces a new shell option: compat31.  When enabled, it
35
 
restores the bash-3.1 behavior with respect to evaluating quoted arguments
36
 
to the =~ operator.
37
 
 
38
 
Patch:
39
 
 
40
 
*** ../bash-20080214/doc/bashref.texi   2008-02-08 21:28:35.000000000 -0500
41
 
--- doc/bashref.texi    2008-02-22 21:44:51.000000000 -0500
42
 
***************
43
 
*** 4053,4056 ****
44
 
--- 4061,4069 ----
45
 
  easy re-editing of multi-line commands.
46
 
  
47
 
+ @item compat31
48
 
+ If set, Bash
49
 
+ changes its behavior to that of version 3.1 with respect to quoted
50
 
+ arguments to the conditional command's =~ operator.
51
 
52
 
  @item dotglob
53
 
  If set, Bash includes filenames beginning with a `.' in