On 04.05.16 20:17, Armin Kunaschik wrote: > 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 The Makefile has a knob to use a specifc shell: # Define SHELL_PATH to a POSIX shell if your /bin/sh is broken. Does this help ? Otherwise: I don't know how much posix ksh88 is, it may help, if you can post some output ? I use sometimes debug=t verbose=t ./t34XXXX.sh 2>&1 ≤ tee xx.txt but there may be better debugging utilities these days. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html