Thread (13 messages) flat view 13 messages, 6 authors, 2016-06-15

Re: [PATCH 0/5] some shell portability fixes

From: Mike Ralphson <hidden>
Date: 2016-06-15 22:43:48

On Nov 7, 2007 2:47 PM, Johannes Schindelin [off-list ref] wrote:
quoted
Equally GNU sed is available as a drop-in rpm for AIX. I wonder if it
would be worth adding Makefile support for a PATH prefix for the git
scripts, so they could prepend (in this case) something like
/opt/freeware/bin or /usr/linux/bin ?

In our AIX environment many GNU tools are installed but I can't
guarantee they come first in the paths of the git users.

I'm willing to work up a patch if there's any interest.
Would that be a task for configure?  Because I am not sure if the GNU
tools are installed in the same place on all AIX boxen...
Well let's say the patch would arrive earlier if it was based on the
shipped Makefile rather than the unholy abomination that is
autoconf... If the GNU tools have been installed via the IBM AIX
Toolbox for Linux Applications[1] then they'll be installed in
/opt/freeware/bin and /usr/linux/bin will be a set of symlinks to
them.

That said, there may be 32/64bit differences and of course anyone
could have rolled their own sed, awk, diff, patch, grep, sort etc in
/usr/local/bin or anywhere else, and I'd guess this might be useful
for Solaris / HPUX users etc.

I was thinking along the lines of the existing $SHELL_PATH, i.e. a
build-time manually-set Makefile/environment variable. I'd also like
to be able to override gitexecdir in the same way without having my
builds marked dirty.

Cheers, Mike

[1] http://www-03.ibm.com/systems/p/os/aix/linux/download.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help