projects
/
snf-image
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a minor bash variable expansion error
[snf-image]
/
snf-image-helper
/
tasks
/
30MountImage.in
diff --git
a/snf-image-helper/tasks/30MountImage.in
b/snf-image-helper/tasks/30MountImage.in
index
83c3115
..
4e45151
100644
(file)
--- a/
snf-image-helper/tasks/30MountImage.in
+++ b/
snf-image-helper/tasks/30MountImage.in
@@
-47,7
+47,7
@@
fi
if [[ "$SNF_IMAGE_PROPERTY_OSFAMILY" == *bsd ]]; then
if ! $DUMPFS_UFS "$rootdev" &> /dev/null; then
if [[ "$SNF_IMAGE_PROPERTY_OSFAMILY" == *bsd ]]; then
if ! $DUMPFS_UFS "$rootdev" &> /dev/null; then
- os=${SNF_IMAGE_PROPERTY_OSFAMILY^[bsd]}
+ os=${SNF_IMAGE_PROPERTY_OSFAMILY^^[bsd]}
log_error "For ${os^?} images only UFS root partitions are supported."
fi
ufstype="$(get_ufstype "$rootdev")"
log_error "For ${os^?} images only UFS root partitions are supported."
fi
ufstype="$(get_ufstype "$rootdev")"