diff options
Diffstat (limited to 'sql-bench/as3ap.sh')
-rw-r--r-- | sql-bench/as3ap.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-bench/as3ap.sh b/sql-bench/as3ap.sh index ed796249ebb..f6827c004d7 100644 --- a/sql-bench/as3ap.sh +++ b/sql-bench/as3ap.sh @@ -21,10 +21,11 @@ ##################### Standard benchmark inits ############################## +use Cwd; use DBI; use Benchmark; -chomp($pwd = `pwd`); $pwd = "." if ($pwd eq ''); +$pwd = cwd(); $pwd = "." if ($pwd eq ''); require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n"; $opt_loop_count=1; |