aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-08-22 00:30:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-08-22 00:30:47 +0000
commitc799c73ce95e5fc3a9a3f113421870f99b6b5e39 (patch)
treedf3508fe23b26a8d8de7d7e55808ecffc45f74b4
parent968cfd8649381b5bca42e8b7dc9aa03d57ee079b (diff)
downloadmaster-187ad058-c799c73ce95e5fc3a9a3f113421870f99b6b5e39.tar.gz
master-187ad058-c799c73ce95e5fc3a9a3f113421870f99b6b5e39.tar.bz2
master-187ad058-c799c73ce95e5fc3a9a3f113421870f99b6b5e39.zip
add fix for tar command line (thx matled)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1714 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/busybox/patches/160-tar_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/160-tar_fix.patch b/package/busybox/patches/160-tar_fix.patch
new file mode 100644
index 0000000000..32358cf659
--- /dev/null
+++ b/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]);