aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/qp5_tool.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/qp5_tool.py')
-rw-r--r--build_scripts/qp5_tool.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/build_scripts/qp5_tool.py b/build_scripts/qp5_tool.py
index 0dea03b27..b213948e7 100644
--- a/build_scripts/qp5_tool.py
+++ b/build_scripts/qp5_tool.py
@@ -159,9 +159,6 @@ def run_git(args):
"""Run git in the current directory and its submodules"""
args.insert(0, git) # run in repo
execute(args) # run for submodules
- module_args = [git, "submodule", "foreach"]
- module_args.extend(args)
- execute(module_args)
def expand_reference(cache_dict, value):
@@ -407,7 +404,7 @@ if __name__ == '__main__':
with open(config_file, 'w') as f:
f.write(DEFAULT_CONFIG_FILE.format(' '.join(DEFAULT_BUILD_ARGS)))
- while not os.path.exists('.gitmodules'):
+ while not os.path.exists('.git'):
cwd = os.getcwd()
if cwd == '/' or (IS_WINDOWS and len(cwd) < 4):
warnings.warn('Unable to find git root', RuntimeWarning)