diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-08-07 12:37:24 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-08-07 12:37:24 -0400 |
commit | 132aed379c72f0702dd2e9c27cf9421f1435aba2 (patch) | |
tree | 5bd7ae2d6658822f7354963aab3243b58c0885ff /scripts/run-tests.sh | |
parent | 1e48014398e19d334bb0b6e5ac517265b575a6f4 (diff) | |
download | brdo-132aed379c72f0702dd2e9c27cf9421f1435aba2.tar.gz brdo-132aed379c72f0702dd2e9c27cf9421f1435aba2.tar.bz2 |
- Patch #1240320 by Chi: use __DIR__ instead of dirname(__FILE__).
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 02e897e41..dc4f2600f 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -297,7 +297,7 @@ function simpletest_script_init($server_software) { } } - chdir(realpath(dirname(__FILE__) . '/..')); + chdir(realpath(__DIR__ . '/..')); define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; } |