git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Portability of git shell scripts?
@ 2016-05-04 18:17 Armin Kunaschik
  2016-05-04 18:35 ` Torsten Bögershausen
  2016-05-04 21:20 ` Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: Armin Kunaschik @ 2016-05-04 18:17 UTC (permalink / raw)
  To: git

Hi list,

I'm trying to compile/test/use git 2.8.2 on AIX 6.1 with no bash available.
/bin/sh is a hard link to /bin/ksh which is a ksh88, a posix shell.
Is this supposed to work?

As an example: make test fails on nearly every t34* test and on tests
which contain rebase.
The installation of bash (and manually changing the shebang to
/bin/bash) "fixes" all rebase test failures. So obviously git-rebase
is not portable at some point.

Does it make any sense to put work into making these scripts portable,
that is, work with posix shells?
And, as last resort, is it possible to configure git use bash in some
or all shell scripts?

Regards,
Armin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-07  3:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 18:17 Portability of git shell scripts? Armin Kunaschik
2016-05-04 18:35 ` Torsten Bögershausen
2016-05-04 21:20 ` Jeff King
2016-05-06 16:57   ` Armin Kunaschik
2016-05-07  2:53     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).