diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-11-07 19:36:40 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-11-07 19:36:40 +0100 |
| commit | 3414a69bc8e589a0fbfc52f932f6b7df8d05f365 (patch) | |
| tree | 5e90a37a332e955501a4d88120fc080c3ace4bb1 /lib/SlackBuilder | |
| parent | 9770cc8829d6fdacd1ae02e1f78fcf270e5a5503 (diff) | |
| download | slackbuilder-3414a69bc8e589a0fbfc52f932f6b7df8d05f365.tar.gz | |
Support GHC 9.4
Diffstat (limited to 'lib/SlackBuilder')
| -rw-r--r-- | lib/SlackBuilder/Download.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SlackBuilder/Download.hs b/lib/SlackBuilder/Download.hs index 7729b0b..2dc503d 100644 --- a/lib/SlackBuilder/Download.hs +++ b/lib/SlackBuilder/Download.hs @@ -77,7 +77,7 @@ updateSlackBuildVersion packagePath version additionalDownloads = do updateLineDependencyVersion dependencyName = updateLineVariable $ dependencyName <> "_VERSION" updateLineVariable variableName variableValue line - | Text.isSuffixOf (variableName <> "=") line = + | Text.isPrefixOf (variableName <> "=") line = variableName <> "=${" <> variableName <> ":-" <> variableValue <> "}" | otherwise = line |
