projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0a85ba6
)
args handling bug
author
Shawn Boyette
<sboyette@esilibrary.com>
Fri, 12 Jun 2009 18:30:36 +0000 (18:30 +0000)
committer
Shawn Boyette
<sboyette@esilibrary.com>
Fri, 12 Jun 2009 18:30:36 +0000 (18:30 +0000)
extract_holdings
patch
|
blob
|
history
diff --git
a/extract_holdings
b/extract_holdings
index
ee8bb93
..
742c6e2
100755
(executable)
--- a/
extract_holdings
+++ b/
extract_holdings
@@
-192,7
+192,7
@@
sub initialize {
show_help("Nothing to do!")
unless ($c->{map} or $c->{sample} or $c->{samplemap} or $c->{samplestr});
show_help("map, holdings, and copyid must be specified together!")
- if ($c->{map} and !$c->{holdings} and !$c->{copyid});
+ if ($c->{map} and !($c->{holdings} and $c->{copyid}));
show_version() if $c->{version};
my @keys = keys %{$c};