summaryrefslogtreecommitdiff
path: root/gitupdateunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-18 09:26:29 +0200
committerErich Eckner <git@eckner.net>2017-07-20 12:11:16 +0200
commit2798b395bc067293d3a7d338a792224da17854e3 (patch)
tree2f2edf0b5944a0e01b77029516b3236695cd92be /gitupdateunit.pas
parent1d177b0eb1bcbea486318d5a68dc5f7c1b0e39df (diff)
downloadunits-2798b395bc067293d3a7d338a792224da17854e3.tar.xz
homogenisiere Grosz-Klein-Schreibung
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.