mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 15:49:26 +02:00
* Do not handle files with the same name as a package as a package-file if the extension is not .zip
git-svn-id: trunk@15169 -
This commit is contained in:
parent
d27093ceba
commit
82eb1a1a1c
@ -351,7 +351,7 @@ begin
|
||||
// Process packages
|
||||
for i:=0 to ParaPackages.Count-1 do
|
||||
begin
|
||||
if FileExists(ParaPackages[i]) then
|
||||
if sametext(ExtractFileExt(ParaPackages[i]),'.zip') and FileExists(ParaPackages[i]) then
|
||||
begin
|
||||
ActionPackage:=AvailableRepository.AddPackage(CmdLinePackageName);
|
||||
ActionPackage.LocalFileName:=ExpandFileName(ParaPackages[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user