aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-config/llvm-config.in.in
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-11 21:50:24 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-11 21:50:24 +0000
commitb43ce5a148b0816fac693d74f8a69de0b6ca8f0d (patch)
tree8a8a2673ddc26fa120f26f96f2d139a760d05125 /tools/llvm-config/llvm-config.in.in
parent0c2ecdd9af8c7e7a1d43144af249af030c5ef462 (diff)
Don't print double newline for --src-root and --obj-root as it tends to
confuse shells that might use this output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config/llvm-config.in.in')
-rw-r--r--tools/llvm-config/llvm-config.in.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in
index a8c0fa3ed1..51b79ec926 100644
--- a/tools/llvm-config/llvm-config.in.in
+++ b/tools/llvm-config/llvm-config.in.in
@@ -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();
}