[Pkg-samba-maint] [Bug 8924] Avoid bashism in smbtar

samba-bugs at samba.org samba-bugs at samba.org
Sun Jun 10 00:15:21 UTC 2012


Björn Jacke <bj at sernet.de> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Björn Jacke <bj at sernet.de> 2012-06-10 00:15:20 UTC ---
the proposed printf doesn't work with NetBSD's "ash", so this doesn't make it
more portable here.

On the other hand I can't think of a shell which would not print a "\" when
echo "\\" is being done. I don't see where this might be unportable shell code.
Maybe the bashism checker is a bit overzealous. Until you show us a shell where
this code fails, we should treat this as correct I think.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.

More information about the Pkg-samba-maint mailing list