scripts: Fix running compare-settings-to-template from any CWD.

This matches the number of dirname() calls for other files in its
directory.

Fixes #20489.
This commit is contained in:
Tim Abbott 2021-12-07 14:45:37 -08:00
parent 48dccfd37a
commit 73d503995a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import os
import re import re
import sys import sys
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(BASE_DIR) sys.path.append(BASE_DIR)
from scripts.lib.setup_path import setup_path from scripts.lib.setup_path import setup_path