mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Print an error message if the lib directory (first argument) is not a
directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1eaf0ac1dc
commit
d0fa46aa62
@ -24,9 +24,10 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
|
|||||||
|
|
||||||
# Give first option a name.
|
# Give first option a name.
|
||||||
my $Directory = $ARGV[0];
|
my $Directory = $ARGV[0];
|
||||||
if (!defined($Directory)) {
|
if (!defined($Directory) || ! -d "$Directory") {
|
||||||
die "First argument must be the directory containing LLVM libs\n";
|
die "First argument must specify the directory containing LLVM libs\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
my $nmPath = $ARGV[1];
|
my $nmPath = $ARGV[1];
|
||||||
|
|
||||||
# Find the "dot" program
|
# Find the "dot" program
|
||||||
|
Loading…
x
Reference in New Issue
Block a user