From: Artem Bityutskiy Date: Thu, 2 Jan 2014 15:46:33 +0000 (+0200) Subject: installerfw-sh-functions: fix installerfw_mnt_prefix X-Git-Tag: accepted/tizen/common/20140814.150828~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=a4edabb9ed3688eb13b45d5142da8f1efada01ad;p=platform%2Fadaptation%2Fsetup-scripts.git installerfw-sh-functions: fix installerfw_mnt_prefix Signed-off-by: Artem Bityutskiy --- diff --git a/installerfw-sh-functions b/installerfw-sh-functions index 4f6374e..d865023 100644 --- a/installerfw-sh-functions +++ b/installerfw-sh-functions @@ -42,9 +42,7 @@ installerfw_verify_defined() # tripple "/" in the resulting path. installerfw_mnt_prefix() { - installerfw_verify_defined "INSTALLERFW_MOUNT_PREFIX" - - local path="$INSTALLERFW_MOUNT_PREFIX/$1" + local path="${INSTALLERFW_MOUNT_PREFIX:-}/$1" printf "%s" "$path" | LC_ALL=C sed -e 's/\/\+/\//g' }