Undid PATH change, needed for mysqldump; which I see is indeed called

many other places with incorrect paths.
Make macros should be setting all this up correctly!
mysqldump is [for example] in /opt/local/bin, not /usr/bin, with pkgin
This commit is contained in:
Rick Sayre 2015-05-18 21:49:08 -07:00
parent fb5c1abc87
commit ffe46978d2
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ use constant EVENT_PATH => ($Config{ZM_DIR_EVENTS}=~m|/|)?$Config{ZM_DIR_EVENTS}
$| = 1; $| = 1;
$ENV{PATH} = '/bin:/usr/bin:/usr/local/bin:/opt/local/bin'; $ENV{PATH} = '/bin:/usr/bin:/usr/local/bin';
$ENV{SHELL} = '/bin/sh' if exists $ENV{SHELL}; $ENV{SHELL} = '/bin/sh' if exists $ENV{SHELL};
delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}; delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};