diff options
author | Joerg Sonnenberger <joerg.sonnenberger@gmail.com> | 2008-07-25 20:46:35 -0400 |
---|---|---|
committer | Joerg Sonnenberger <joerg.sonnenberger@gmail.com> | 2008-07-25 20:46:35 -0400 |
commit | 50a1e7ec3d0406c2a79b20166385b0de4bc8c903 (patch) | |
tree | ba803eb0fa63e200ba7588e63a27a6fe76e4b697 /libarchive/archive_write_set_format_shar.c | |
parent | 79a91ee3c447db0b7fe6f9d59f588dc25ff6bd01 (diff) | |
download | libarchive-50a1e7ec3d0406c2a79b20166385b0de4bc8c903.tar.gz |
At least on NetBSD, uudecode -o doesn't work, so use -p instead.
SVN-Revision: 163
Diffstat (limited to 'libarchive/archive_write_set_format_shar.c')
-rw-r--r-- | libarchive/archive_write_set_format_shar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_write_set_format_shar.c b/libarchive/archive_write_set_format_shar.c index a6eaebff..e954a789 100644 --- a/libarchive/archive_write_set_format_shar.c +++ b/libarchive/archive_write_set_format_shar.c @@ -260,7 +260,7 @@ archive_write_shar_header(struct archive_write *a, struct archive_entry *entry) } else { if (shar->dump) { ret = shar_printf(a, - "uudecode -o %s << 'SHAR_END'\n", + "uudecode -p > %s << 'SHAR_END'\n", name); if (ret != ARCHIVE_OK) return (ret); |