Don't print double newline for --src-root and --obj-root as it tends to

confuse shells that might use this output.

llvm-svn: 29629
This commit is contained in:
Reid Spencer 2006-08-11 21:50:24 +00:00
parent 173c5fb3f3
commit 9cd0b87af3

View File

@ -124,9 +124,9 @@ foreach my $arg (@ARGV) {
} elsif ($arg eq "--build-mode") {
$has_opt = 1; print "$LLVM_BUILDMODE\n";
} elsif ($arg eq "--obj-root") {
$has_opt = 1; print `cd $LLVM_OBJ_ROOT/; pwd` . "\n";
$has_opt = 1; print `cd $LLVM_OBJ_ROOT/; pwd`;
} elsif ($arg eq "--src-root") {
$has_opt = 1; print `cd $LLVM_SRC_ROOT/; pwd` . "\n";
$has_opt = 1; print `cd $LLVM_SRC_ROOT/; pwd`;
} else {
usage();
}