diff options
author | lloyd <[email protected]> | 2008-04-06 23:04:44 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-06 23:04:44 +0000 |
commit | 404ef9b8b7bc57a0eedf0cfe321b9a49643aecd3 (patch) | |
tree | e7b9acd324e6329c6d4d340ee16138803a443022 /configure.pl | |
parent | 8a5ffc5c6294786ad70f7a8fdd7606f411690ce9 (diff) |
Don't hard-code the user and group when doing an install: instead use
whatever the current user/group is. If you wish to override, edit the
makefile or override the INSTALL_CMD_* variables on the command line.
Diffstat (limited to 'configure.pl')
-rwxr-xr-x | configure.pl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.pl b/configure.pl index 45a9f08cc..3a2a7e83c 100755 --- a/configure.pl +++ b/configure.pl @@ -1378,8 +1378,7 @@ sub get_os_info { match_any_of($_, \%info, 'unquoted', 'os_type:obj_suffix:so_suffix:static_suffix:' . 'install_root:header_dir:lib_dir:doc_dir:' . - 'install_user:install_group:ar_needs_ranlib:' . - 'install_cmd_data:install_cmd_exec'); + 'ar_needs_ranlib:install_cmd_data:install_cmd_exec'); read_list($_, $reader, 'aliases', list_push(\@{$info{'aliases'}})); @@ -1641,8 +1640,6 @@ sub generate_makefile { 'install_cmd_exec' => os_info_for($os, 'install_cmd_exec'), 'install_cmd_data' => os_info_for($os, 'install_cmd_data'), - 'install_user' => os_info_for($os, 'install_user'), - 'install_group' => os_info_for($os, 'install_group'), }); my $is_in_doc_dir = @@ -1693,9 +1690,6 @@ sub generate_makefile { $template = File::Spec->catfile($template_dir, 'unix_shr.in') if($$config{'shared'} eq 'yes'); - $$config{'install_cmd_exec'} =~ s/(OWNER|GROUP)/\$($1)/g; - $$config{'install_cmd_data'} =~ s/(OWNER|GROUP)/\$($1)/g; - add_to($config, { 'link_to' => libs('-l', '', 'm', @{$$config{'mod_libs'}}), }); |