FS#19063 - [coreutils] "[" does not work correctly

Attached to Project: Arch Linux
Opened by Jan Alexander Steffens (heftig) - Monday, 12 April 2010, 16:51 GMT
Last edited by Allan McRae (Allan) - Wednesday, 14 April 2010, 06:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

/usr/bin/[ should not be symlinked to /usr/bin/test. Coreutils installs [ as a separate program, which behaves differently from test.

However, the PKGBUILD overwrites [ with a symlink. `env "[" -n foo "]"` will cause a syntax error.

To fix this, remove the "ln -sf test [" line from the PKGBUILD.

Additional info:
coreutils 8.4-2
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 14 April 2010, 06:48 GMT
Reason for closing:  Implemented
Additional comments about closing:  coreutils-8.4-3 in [testing]
Comment by Jan Alexander Steffens (heftig) - Tuesday, 13 April 2010, 20:11 GMT
Fixed in 8.4-3

Loading...