From: Artem Bityutskiy Date: Wed, 1 Jan 2014 14:10:08 +0000 (+0200) Subject: Source full path X-Git-Tag: accepted/tizen/common/20140814.150828~25 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fadaptation%2Fsetup-scripts.git;a=commitdiff_plain;h=bbf60157660608ad4d46f0a4e5013ca942f18b2c 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 --- 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.