]> git.ipfire.org Git - thirdparty/git.git/commit
thunderbird-patch-inline: avoid bashism
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 10 Feb 2025 23:49:47 +0000 (23:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Feb 2025 00:16:19 +0000 (16:16 -0800)
commit59d26bd9619c1bb37b1ccb4a93a71221bec46e12
tree072a46299cc209a57b7a3f4cc2f369e249f91c3e
parent2f323bb16219c105e0c576ea4c2ece9863f5d926
thunderbird-patch-inline: avoid bashism

The use of "echo -e" is not portable and not specified by POSIX.  dash
does not support any options except "-n", and so this script will not
work on operating systems which use that as /bin/sh.

Fortunately, the solution is easy: switch to printf(1), which is
specified by POSIX and allows the escape sequences we want to use.  This
will allow the script to work with any POSIX shell.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/thunderbird-patch-inline/appp.sh