Fix nested brace vs. variable expansion
This commit is contained in:
parent
e4dd95b91a
commit
764c05e57a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115867
4 changed files with 32 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= bash
|
||||
PORTVERSION= 3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= ${MASTER_SITE_GNU} \
|
||||
ftp://ftp.cwru.edu/pub/%SUBDIR%/
|
||||
|
|
15
shells/bash/files/patch-braces.c
Normal file
15
shells/bash/files/patch-braces.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# Fix nested brace vs. variable expansion
|
||||
#
|
||||
# http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00056.html
|
||||
#
|
||||
--- braces.c.orig Tue Aug 04 14:32:33 2004
|
||||
+++ braces.c Tue Aug 04 15:15:36 2004
|
||||
@@ -402,6 +402,7 @@
|
||||
{
|
||||
pass_next = 1;
|
||||
i++;
|
||||
+ level++;
|
||||
continue;
|
||||
}
|
||||
#endif
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= bash
|
||||
PORTVERSION= 3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= ${MASTER_SITE_GNU} \
|
||||
ftp://ftp.cwru.edu/pub/%SUBDIR%/
|
||||
|
|
15
shells/bash3/files/patch-braces.c
Normal file
15
shells/bash3/files/patch-braces.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# Fix nested brace vs. variable expansion
|
||||
#
|
||||
# http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00056.html
|
||||
#
|
||||
--- braces.c.orig Tue Aug 04 14:32:33 2004
|
||||
+++ braces.c Tue Aug 04 15:15:36 2004
|
||||
@@ -402,6 +402,7 @@
|
||||
{
|
||||
pass_next = 1;
|
||||
i++;
|
||||
+ level++;
|
||||
continue;
|
||||
}
|
||||
#endif
|
Loading…
Reference in a new issue