summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/config/default.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/config/default.exp')
-rw-r--r--ld/testsuite/config/default.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp
index dfae71afb6..ab35ecfa53 100644
--- a/ld/testsuite/config/default.exp
+++ b/ld/testsuite/config/default.exp
@@ -50,9 +50,7 @@ if ![info exists strip] then {
set strip [findfile $base_dir/../binutils/strip-new $base_dir/../binutils/strip-new [transform strip]]
}
-if {![file isdirectory tmpdir]} then {
- catch "exec mkdir tmpdir" status
-}
+remote_exec host "mkdir -p tmpdir"
# Make a symlink from tmpdir/as to the assembler in the build tree, so
# that we can use a -B option to gcc to force it to use the newly
OpenPOWER on IntegriCloud