From bbf60157660608ad4d46f0a4e5013ca942f18b2c Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 1 Jan 2014 16:10:08 +0200 Subject: [PATCH] Source full path 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 --- setup-extlinux-conf | 4 +--- setup-gummiboot-conf | 4 +--- setup-ivi-boot | 4 ++-- setup-ivi-bootloader-conf | 4 ++-- setup-ivi-fstab | 4 ++-- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/setup-extlinux-conf b/setup-extlinux-conf index 20e00c9..5854f7d 100755 --- a/setup-extlinux-conf +++ b/setup-extlinux-conf @@ -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. diff --git a/setup-gummiboot-conf b/setup-gummiboot-conf index 7f19c6b..cd9c245 100755 --- a/setup-gummiboot-conf +++ b/setup-gummiboot-conf @@ -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. diff --git a/setup-ivi-boot b/setup-ivi-boot index 8e00208..13f2406 100755 --- a/setup-ivi-boot +++ b/setup-ivi-boot @@ -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. diff --git a/setup-ivi-bootloader-conf b/setup-ivi-bootloader-conf index ac59db2..4accba1 100755 --- a/setup-ivi-bootloader-conf +++ b/setup-ivi-bootloader-conf @@ -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. diff --git a/setup-ivi-fstab b/setup-ivi-fstab index 8b67734..100966c 100755 --- a/setup-ivi-fstab +++ b/setup-ivi-fstab @@ -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. -- 2.7.4