I do not know why, but in a Tizen IVI chroot environment sourcing does not work
unless the full path is specified.
Change-Id: Ia938d0d71d70b2512fd679b859f9318b203ae69d
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
VER="1.0"
srcdir="$(readlink -ev -- ${0%/*})"
VER="1.0"
srcdir="$(readlink -ev -- ${0%/*})"
-PATH="/usr/share/setup-ivi:$srcdir:$PATH"
-
-. setup-ivi-sh-functions
+. "$srcdir/setup-ivi-sh-functions"
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
VER="1.0"
srcdir="$(readlink -ev -- ${0%/*})"
VER="1.0"
srcdir="$(readlink -ev -- ${0%/*})"
-PATH="/usr/share/setup-ivi:$srcdir:$PATH"
-
-. setup-ivi-sh-functions
+. "$srcdir/setup-ivi-sh-functions"
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
srcdir="$(readlink -ev -- ${0%/*})"
PATH="/usr/share/setup-ivi:$srcdir:$PATH"
srcdir="$(readlink -ev -- ${0%/*})"
PATH="/usr/share/setup-ivi:$srcdir:$PATH"
-. setup-ivi-sh-functions
-. installerfw-sh-functions
+. "$srcdir/setup-ivi-sh-functions"
+. "$srcdir/installerfw-sh-functions"
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
srcdir="$(readlink -ev -- ${0%/*})"
PATH="/usr/share/setup-ivi:$srcdir:$PATH"
srcdir="$(readlink -ev -- ${0%/*})"
PATH="/usr/share/setup-ivi:$srcdir:$PATH"
-. setup-ivi-sh-functions
-. installerfw-sh-functions
+. "$srcdir/setup-ivi-sh-functions"
+. "$srcdir/installerfw-sh-functions"
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
srcdir="$(readlink -ev -- ${0%/*})"
PATH="/usr/share/setup-ivi:$srcdir:$PATH"
srcdir="$(readlink -ev -- ${0%/*})"
PATH="/usr/share/setup-ivi:$srcdir:$PATH"
-. setup-ivi-sh-functions
-. installerfw-sh-functions
+. "$srcdir/setup-ivi-sh-functions"
+. "$srcdir/installerfw-sh-functions"
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.
# This is a small trick which I use to make sure my scripts are portable -
# check if 'dash' is present, and if yes - use it.