[X2Go-Dev] Bug#668: [Patch] Replace "echo -n" with printf

Lars Wendler polynomial-c at gentoo.org
Fri Nov 7 16:51:42 CET 2014


Package: x2goclient
Version: git master


Hi,

at Gentoo latest version of the dash shell doesn't support "echo -n"
anymore[1]. The result is that x2gpath returns every path with a
prefixed "-n " when dash is used as /bin/sh.
Accoring to "man p1 echo" section "APPLICATION USAGE" applications
should not rely on "echo -n" but use printf instead.
The attached patch does exactly that.

Kind regards
Lars

[1] https://bugs.gentoo.org/528452

-- 
Lars Wendler
Gentoo package maintainer
GPG: 4DD8 C47C CDFA 5295 E1A6 3FC8 F696 74AB 981C A6FC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-echo-n-cannot-be-expected-to-work-with-every-POSIX-s.patch
Type: text/x-patch
Size: 2593 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20141107/a9732489/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20141107/a9732489/attachment.pgp>


More information about the x2go-dev mailing list