diff options
author | Erik Andersen | 2000-04-28 22:32:13 +0000 |
---|---|---|
committer | Erik Andersen | 2000-04-28 22:32:13 +0000 |
commit | 923ef599f39ae2701fe0ec06b811df44a70a5cee (patch) | |
tree | 68251c8f3a048a38c9ee19fc287775c6b9f53c2f /tar.c | |
parent | 6ed02a0ee010a28b7649a9ef734679f7818c57e3 (diff) | |
download | busybox-923ef599f39ae2701fe0ec06b811df44a70a5cee.zip busybox-923ef599f39ae2701fe0ec06b811df44a70a5cee.tar.gz |
Fix tarball creation. In an attempt to accomodate the whiners
that wanted "tar cf foo.tar foo" (i.e. no "-" before options)
I broke creation of tarballs. Now fixed.
-Erik
Diffstat (limited to 'tar.c')
-rw-r--r-- | tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ extern int tar_main(int argc, char **argv) usage(tar_usage); /* Parse any options */ - while (--argc > 0 && (**(++argv) != '\0')) { + while (--argc > 0 && **(++argv) == '-') { stopIt=FALSE; while (stopIt==FALSE && *(++(*argv))) { switch (**argv) { |