Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39532 - [bash] 4.3 behave strangely

Attached to Project: Arch Linux
Opened by Archipoff (Simon_A) - Tuesday, 18 March 2014, 20:47 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 22 March 2014, 11:50 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
bash 4.3 doesn't behave like bash 4.2, I guess its an upstream bug (or a bug fix ?)
I cant build a library anymore. The problem is in a line in a clean script
rm -rf !(build.sh|clean.sh|.gitignore)
it says : rm: refusing to remove '.' or '..' directory: skipping '.'
but bash 4.2 works here


Additional info:
* package version(s) bash-4.3-2


Steps to reproduce:

git clone https://github.com/simongog/sdsl-lite.git
cd sdsl-lite
./install /tmp
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Saturday, 22 March 2014, 11:50 GMT
Reason for closing:  Not a bug
Comment by Dave Reisner (falconindy) - Tuesday, 18 March 2014, 22:28 GMT
This isn't a bug in bash -- rather, the old behavior from 4.2 is the buggy one. From the 4.3 changelog:

oo. Fixed a bug that caused extended globbing patterns to not match files
beginning with `.' correctly when a `.' was explicitly supplied in the
pattern.

Loading...