diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-08-07 12:39:05 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-08-07 12:39:05 -0400 |
commit | 1e7a7361c412ed14ffe3285e0588cd6d823a1934 (patch) | |
tree | 11b0e38f2cf212ca48bfb8946c3f446abe354061 /scripts/run-tests.sh | |
parent | 132aed379c72f0702dd2e9c27cf9421f1435aba2 (diff) | |
download | brdo-1e7a7361c412ed14ffe3285e0588cd6d823a1934.tar.gz brdo-1e7a7361c412ed14ffe3285e0588cd6d823a1934.tar.bz2 |
Revert "- Patch #1240320 by Chi: use __DIR__ instead of dirname(__FILE__)."
This reverts commit 132aed379c72f0702dd2e9c27cf9421f1435aba2.
Diffstat (limited to 'scripts/run-tests.sh')
-rwxr-xr-x | scripts/run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index dc4f2600f..02e897e41 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -297,7 +297,7 @@ function simpletest_script_init($server_software) { } } - chdir(realpath(__DIR__ . '/..')); + chdir(realpath(dirname(__FILE__) . '/..')); define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; } |