(#9400 P1a) lib/functions/image/fingerprint.sh: convert [ ] to [[ ]]
Replace POSIX `[ ]` with bash `[[ ]]` on one -n test. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b9bf4489a8
commit
3e4de6c02b
@ -28,7 +28,7 @@ function fingerprint_image() {
|
||||
Support: ${VENDORSUPPORT}
|
||||
EOF
|
||||
|
||||
if [ -n "$2" ]; then
|
||||
if [[ -n "$2" ]]; then
|
||||
cat <<- EOF >> "${1}"
|
||||
---------------------------------------------------------------------------
|
||||
Partitioning configuration: $IMAGE_PARTITION_TABLE offset: $OFFSET
|
||||
|
||||
Loading…
Reference in New Issue
Block a user