diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-08-22 00:30:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-08-22 00:30:47 +0000 |
commit | 7e79bf843f2aa4e4a0d4e4c81fcb2fd189bb1d3d (patch) | |
tree | 225b19b85d79eb4de58c123dcea22e66da959251 /openwrt | |
parent | 2f11a7e8f883e99abc38ad03c2ac0af138103a31 (diff) | |
download | mtk-20170518-7e79bf843f2aa4e4a0d4e4c81fcb2fd189bb1d3d.zip mtk-20170518-7e79bf843f2aa4e4a0d4e4c81fcb2fd189bb1d3d.tar.gz mtk-20170518-7e79bf843f2aa4e4a0d4e4c81fcb2fd189bb1d3d.tar.bz2 |
add fix for tar command line (thx matled)
SVN-Revision: 1714
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/package/busybox/patches/160-tar_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/busybox/patches/160-tar_fix.patch b/openwrt/package/busybox/patches/160-tar_fix.patch new file mode 100644 index 0000000..32358cf --- /dev/null +++ b/openwrt/package/busybox/patches/160-tar_fix.patch @@ -0,0 +1,11 @@ +--- busybox-1.00/archival/tar.c.orig 2005-08-13 12:41:09.000000000 +0200 ++++ busybox-1.00/archival/tar.c 2005-08-13 12:39:50.000000000 +0200 +@@ -798,7 +798,7 @@ + /* TODO: This is the same as in ar, separate function ? */ + while (optind < argc) { + char *filename_ptr = last_char_is(argv[optind], '/'); +- if (filename_ptr) { ++ if (argv[optind] != filename_ptr && filename_ptr) { + *filename_ptr = '\0'; + } + tar_handle->accept = llist_add_to(tar_handle->accept, argv[optind]); |