diff options
Diffstat (limited to 'dev-util/checkbashisms/files/checkbashisms-2.0.0.2-export.patch')
-rw-r--r-- | dev-util/checkbashisms/files/checkbashisms-2.0.0.2-export.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/checkbashisms/files/checkbashisms-2.0.0.2-export.patch b/dev-util/checkbashisms/files/checkbashisms-2.0.0.2-export.patch new file mode 100644 index 000000000000..2ce8a183c8f9 --- /dev/null +++ b/dev-util/checkbashisms/files/checkbashisms-2.0.0.2-export.patch @@ -0,0 +1,16 @@ +`export foor=bar` is valid in POSIX + +https://sourceforge.net/p/checkbaskisms/checkbashisms/9/ +http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#export +https://bugs.gentoo.org/458392 + +--- a/checkbashisms ++++ b/checkbashisms +@@ -512,7 +512,6 @@ + $LEADIN . qr'disown\s' => q<disown>, + $LEADIN . qr'enable\s' => q<enable>, + $LEADIN . qr'export\s+-[^p]' => q<export only takes -p as an option>, +- $LEADIN . qr'export\s+.+=' => q<export foo=bar should be foo=bar; export foo>, + $LEADIN . qr'mapfile\s' => q<mapfile>, + $LEADIN . qr'readarray\s' => q<readarray>, + $LEADIN . qr'readonly\s+-[af]' => q<readonly -[af]>, |