projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eaf0ac
)
Print an error message if the lib directory (first argument) is not a
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 3 Aug 2006 19:10:03 +0000
(19:10 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Thu, 3 Aug 2006 19:10:03 +0000
(19:10 +0000)
directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29508
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/GenLibDeps.pl
patch
|
blob
|
history
diff --git
a/utils/GenLibDeps.pl
b/utils/GenLibDeps.pl
index 9bb47520235f2c8be907a152e0518fada5f52421..419d8f92d866d62cf43d074f8d702a8cbfa924f7 100755
(executable)
--- a/
utils/GenLibDeps.pl
+++ b/
utils/GenLibDeps.pl
@@
-24,9
+24,10
@@
while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
# Give first option a name.
my $Directory = $ARGV[0];
-if (!defined($Directory)) {
- die "First argument must
be
the directory containing LLVM libs\n";
+if (!defined($Directory)
|| ! -d "$Directory"
) {
+ die "First argument must
specify
the directory containing LLVM libs\n";
}
+
my $nmPath = $ARGV[1];
# Find the "dot" program