FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Do not add empty paths to PATH environment variable · gnuplot/gnuplot@b3d1168 · GitHub

Repository navigation

Commit b3d1168

Browse files
committed
Do not add empty paths to PATH environment variable
Bug #1990
1 parent c169f33 commit b3d1168

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎win/modpath.iss‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ begin
9797
if i = 1 then begin
9898
newpath := pathArr[i-1];
9999
end else begin
100-
newpath := newpath + ';' + pathArr[i-1];
100+
// BM: skip empty entries
101+
if Length(pathArr[i-1]) > 0 then
102+
newpath := newpath + ';' + pathArr[i-1];
101103
end;
102104
end;
103105

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL