commit | 681efe20d327e9e6774b174a617d66bbb9d21f48 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Mar 08 21:00:36 2011 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Mar 08 21:00:36 2011 +0100 |
tree | 4331e443ee303c24364b1655651c8584db8b51c1 | |
parent | 86cf0364bd58e07646a23a1128e4a9ea79189579 [diff] [blame] |
use user's shell instead of hardwired "/bin/sh" (android needs this) Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/archival/tar.c b/archival/tar.c index d43c8de..01b83d5 100644 --- a/archival/tar.c +++ b/archival/tar.c
@@ -970,6 +970,7 @@ putenv((char*)"TAR_FILETYPE=f"); signal(SIGPIPE, SIG_IGN); tar_handle->action_data = data_extract_to_command; + IF_FEATURE_TAR_TO_COMMAND(tar_handle->tar__to_command_shell = xstrdup(get_shell_name());) } if (opt & OPT_KEEP_OLD)