Source full path
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 1 Jan 2014 14:10:08 +0000 (16:10 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 1 Jan 2014 14:10:08 +0000 (16:10 +0200)
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>
setup-extlinux-conf
setup-gummiboot-conf
setup-ivi-boot
setup-ivi-bootloader-conf
setup-ivi-fstab

index 20e00c9b0170df9651baf8a98234a0c38b679dd6..5854f7d4244a4b74aeb071c020c8607a0deda875 100755 (executable)
@@ -8,9 +8,7 @@ PROG="setup-extlinux-conf"
 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.
index 7f19c6b1d37323f695207429107f9a34c669ff34..cd9c24522edf2c8dd67be1c221a3ce3515fbaf43 100755 (executable)
@@ -8,9 +8,7 @@ PROG="setup-gummiboot-conf"
 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.
index 8e00208985675ac8362bd6fe59d16b068ae28082..13f2406929e43000210ef84db57067cfef08d887 100755 (executable)
@@ -10,8 +10,8 @@ VER="1.0"
 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.
index ac59db2da4dc13dc9bb66d26677bbd14eb4f1ffd..4accba16ee0d17826a992593ed3327535576d3a5 100755 (executable)
@@ -10,8 +10,8 @@ VER="1.0"
 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.
index 8b677349ea475357cc29e5b2eee2804e278962b8..100966c2c5e0d6151d5bab11ea2304781a91d808 100755 (executable)
@@ -10,8 +10,8 @@ VER="1.0"
 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.