projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Miscellaneous changes.
[cumulus.git]
/
scandir.cc
diff --git
a/scandir.cc
b/scandir.cc
index
223a99c
..
c11c561
100644
(file)
--- a/
scandir.cc
+++ b/
scandir.cc
@@
-276,7
+276,11
@@
int main(int argc, char *argv[])
{
block_buf = new char[LBS_BLOCK_SIZE];
- tss = new TarSegmentStore(".");
+ if (argc > 1) {
+ tss = new TarSegmentStore(argv[1]);
+ } else {
+ tss = new TarSegmentStore(".");
+ }
std::ostringstream metadata;