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:
dependabot[bot]
2023-03-16 16:16:48 +00:00
committed by GitHub
parent 931cd1d7da
commit 1ea62f32f0
20 changed files with 72 additions and 252 deletions

View File

@ -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)
}