aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit-repository4
1 files changed, 2 insertions, 2 deletions
diff --git a/init-repository b/init-repository
index a0bef71a..fc492edd 100755
--- a/init-repository
+++ b/init-repository
@@ -107,8 +107,8 @@ if (`git config --get submodule.qtbase.url`) {
if ($force) {
my @configresult = `git config -l`;
foreach (@configresult) {
- if (/(submodule\.[^.=]+\.url)=.*/) {
- system_v("git config --unset $1");
+ if (/(submodule\.[^.=]+)\.url=.*/) {
+ system_v("git config --remove-section $1");
}
}
} else {