mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
build(deps): bump github.com/openshift/imagebuilder
Bumps [github.com/openshift/imagebuilder](https://github.com/openshift/imagebuilder) from 1.2.4-0.20230207193036-6e08c897da73 to 1.2.4. - [Release notes](https://github.com/openshift/imagebuilder/releases) - [Commits](https://github.com/openshift/imagebuilder/commits/v1.2.4) --- updated-dependencies: - dependency-name: github.com/openshift/imagebuilder dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
9
vendor/github.com/openshift/imagebuilder/shell_parser.go
generated
vendored
9
vendor/github.com/openshift/imagebuilder/shell_parser.go
generated
vendored
@ -269,7 +269,14 @@ func (sw *shellWord) processDollar() (string, error) {
|
||||
newValue = word
|
||||
}
|
||||
return newValue, nil
|
||||
|
||||
case '?':
|
||||
if newValue == "" {
|
||||
newValue = word
|
||||
}
|
||||
if newValue == "" {
|
||||
return "", fmt.Errorf("Failed to process `%s`: %s is not allowed to be unset", sw.word, name)
|
||||
}
|
||||
return newValue, nil
|
||||
default:
|
||||
return "", fmt.Errorf("Unsupported modifier (%c) in substitution: %s", modifier, sw.word)
|
||||
}
|
||||
|
Reference in New Issue
Block a user