Skip to content

Commit d700ac2

Browse files
committed
defineDebugInfoPackage: change the debugInfoSuffix also
for non-main debuginfo packages.
1 parent 832d615 commit d700ac2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

HaikuPorter/ShellScriptlets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ def getShellVariableSetters(shellVariables):
115115
fi
116116
117117
local destDir=$debugInfoDir
118-
local debugInfoSuffix="($portRevisionedName)"
119118
if [ "$1" = "--directory" ]; then
120119
destDir="$2"
121120
shift 2
@@ -127,6 +126,7 @@ def getShellVariableSetters(shellVariables):
127126
if [ -z "$basePackageSuffix" ]; then
128127
local basePackageName=$portName
129128
local basePackageVersion=$portVersion
129+
local debugInfoSuffix="($portRevisionedName)"
130130
local packageSuffix=debuginfo
131131
else
132132
eval "local basePackageName=\"\$PACKAGE_NAME_$basePackageSuffix\""
@@ -137,6 +137,7 @@ def getShellVariableSetters(shellVariables):
137137
if [ -z "$basePackageVersion" ]; then
138138
local basePackageVersion=$portVersion
139139
fi
140+
local debugInfoSuffix="($basePackageName-$basePackageVersion-$REVISION)"
140141
local packageSuffix=${basePackageSuffix}_debuginfo
141142
fi
142143
eval "local packageName=\"\$PACKAGE_NAME_$packageSuffix\""

0 commit comments

Comments
 (0)