author | Andreas Schwab <schwab@linux-m68k.org> | |
Sat, 24 Oct 2009 13:06:57 +0000 (15:06 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 24 Oct 2009 19:25:01 +0000 (12:25 -0700) | ||
commit | 36e561064e83d3f890f8fa128b3ca4e0d7691f10 | |
tree | 97e8b6fbee5b7f5b16fb1a89755ebd9ecafc97c0 | tree | snapshot |
parent | 2cf6b4bfec068cf24bdc3e4d46ad233091471a02 | commit | diff |
Work around option parsing bug in the busybox tar implementation
The first argument of the tar command is interpreted as a bundle of
letters specifying the mode of operation and additional options, with
any option arguments taken from subsequent words on the command line
as needed. The implementation of tar in busybox treats this bundle
as if preceded by a dash and then parses it by getopt rules, which
mishandles 'tar xfo -'. Use 'tar xof -' instead to work this around.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The first argument of the tar command is interpreted as a bundle of
letters specifying the mode of operation and additional options, with
any option arguments taken from subsequent words on the command line
as needed. The implementation of tar in busybox treats this bundle
as if preceded by a dash and then parses it by getopt rules, which
mishandles 'tar xfo -'. Use 'tar xof -' instead to work this around.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/Makefile | diff | blob | history |