diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 2014-09-20 10:16:46 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 2014-09-20 10:16:46 -0600 |
commit | 1b098c969af2d9ccfbb01873e98e16cb4bdc4db0 (patch) | |
tree | ef64a8fff73f960d90048c63c2822aba8e5f83f6 /pathnames.h.in | |
parent | e73bf14381eb942941f01117f15f304b0cff5203 (diff) | |
download | sudo-1b098c969af2d9ccfbb01873e98e16cb4bdc4db0.tar.gz |
Only redefine _PATH_BSHELL on AIX if we included paths.h.
Diffstat (limited to 'pathnames.h.in')
-rw-r--r-- | pathnames.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pathnames.h.in b/pathnames.h.in index 797cc037c..e831eee65 100644 --- a/pathnames.h.in +++ b/pathnames.h.in @@ -179,9 +179,9 @@ # undef _PATH_NETSVC_CONF #endif /* _PATH_NETSVC_CONF */ -/* On AIX, _PATH_BSHELL is /usr/bin/bsh but we want /usr/bin/sh */ +/* On AIX, _PATH_BSHELL in paths.h is /usr/bin/bsh but we want /usr/bin/sh */ #ifndef _PATH_SUDO_BSHELL -# ifdef _AIX +# if defined(_AIX) && defined(HAVE_PATHS_H) # define _PATH_SUDO_BSHELL "/usr/bin/sh" # else # define _PATH_SUDO_BSHELL _PATH_BSHELL |