Issue #388 - Use bash echo for git-credential-env

sh is not consistent in its support of the echo builtin's -e flag. On
debian sh is symlinked to dash, which does not support the flag
resulting in bad credential output. Unfortunately /bin/echo is also
nonstandard - e.g. on macs -e is not supported while it is on debian. I
think the best approach is to rely on bash's echo builtin which should
be consistent across systems (at the slight cost of requiring bash as a
dependency)
pull/389/head
Luke Zulauf 2018-09-06 11:19:54 -07:00
rodzic cf15329e75
commit 9de51dbbbd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
echo -e $GIT_CREDENTIAL_ENV