Fix packager creates component name with leading dot

this happend if vendorname = Null
This commit is contained in:
christof 2019-01-21 14:54:34 +01:00
parent 75b1d5955a
commit 4dae37d474

View File

@ -210,7 +210,9 @@ Private Sub InitMake(sSys As String)
If Not $sVendorPrefix Then $sVendorPrefix = $sVendor
If Project.Type = Project.TYPE_COMPONENT Then
If $sVendorPrefix <> Null Then
If $sName Not Begins $sVendorPrefix & "." Then $sComponentName = $sVendorPrefix & "." & $sName
Endif
$sComponentName = String.LCase($sComponentName)
Else If Project.Type = Project.TYPE_LIBRARY Then
$sLibraryName = $sName & ":" & Project.MajorVersion & "." & Project.MinorVersion