summaryrefslogtreecommitdiff
path: root/lib/builder-utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/builder-utils.sh')
-rw-r--r--lib/builder-utils.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/builder-utils.sh b/lib/builder-utils.sh
index ba62596..9c8f3b9 100644
--- a/lib/builder-utils.sh
+++ b/lib/builder-utils.sh
@@ -130,9 +130,9 @@ convert_image() {
local src=$1
local dst=$2
- local hight=`identify -format "%h" $src`
- local wight=`identify -format "%w" $src`
- identify -format "%wx%h" $src
+ local hight=`${CMD_identify} -format "%h" $src`
+ local wight=`${CMD_identify} -format "%w" $src`
+ ${CMD_identify} -format "%wx%h" $src
if [ $wight -lt $hight ] ; then
# Its higher so force x160 and let imagemagic decide the right wight
@@ -165,8 +165,8 @@ convert_image() {
# New size
# identify -format "%wx%h" $dst
- hight=`identify -format "%h" $dst`
- wight=`identify -format "%w" $dst`
+ hight=`${CMD_identify} -format "%h" $dst`
+ wight=`${CMD_identify} -format "%w" $dst`
log_debug "Opsi Icon Wight: $wight Hight: $hight"
}

Powered by Domaintechnik.at | Hosting - Domain - Webspace