summaryrefslogtreecommitdiff
path: root/gitupdateunit.pas
diff options
context:
space:
mode:
Diffstat (limited to 'gitupdateunit.pas')
-rw-r--r--gitupdateunit.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitupdateunit.pas b/gitupdateunit.pas
index 69346db..842ba77 100644
--- a/gitupdateunit.pas
+++ b/gitupdateunit.pas
@@ -21,13 +21,13 @@ var
initialization
updated:=false;
- setlength(gitDirs,2);
+ setLength(gitDirs,2);
gitDirs[0]:=extractFilePath(paramstr(0));
gitDirs[1]:=extractFilePath(leftStr(gitDirs[0],length(gitDirs[0])-1))+'units/';
output:='';
for i:=0 to length(gitDirs)-1 do begin
- setlength(args,2);
+ setLength(args,2);
args[0]:='pull';
args[1]:='--all';
if not runCommandInDir(gitDirs[i],'git',args,output) then continue;
@@ -38,6 +38,6 @@ initialization
end;
if updated then
refreshExecutable(gitDirs);
- setlength(args,0);
+ setLength(args,0);
end.