kumquat-buildroot/package/tar/tar-remote-shell.patch
2004-10-11 19:55:27 +00:00

24 lines
608 B
Diff

--- tar.broke/src/tar.c.orig 2004-10-10 21:39:07.872276960 -0400
+++ tar/src/tar.c 2004-10-10 21:39:52.512490616 -0400
@@ -544,10 +544,18 @@
show_default_settings (FILE *stream)
{
fprintf (stream,
- "--format=%s -f%s -b%d --rmt-command=%s --rsh-command=%s\n",
+ "--format=%s -f%s -b%d --rmt-command=%s"
+#ifdef REMOTE_SHELL
+" --rsh-command=%s"
+#endif
+ "\n",
archive_format_string (DEFAULT_ARCHIVE_FORMAT),
DEFAULT_ARCHIVE, DEFAULT_BLOCKING,
- DEFAULT_RMT_COMMAND, REMOTE_SHELL);
+ DEFAULT_RMT_COMMAND
+#ifdef REMOTE_SHELL
+ ,REMOTE_SHELL
+#endif
+ );
}
static void