X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=setup-ivi-boot;h=b020d12952fb915a1c665b377d31099fbb16d3da;hb=a24172b701d078fc03bb0eb90b472d7198254ca5;hp=09336f0717a23eee136bfe77e26651783869fe80;hpb=c77ba17979c7813b7a29584c85963c47890bde92;p=platform%2Fadaptation%2Fsetup-scripts.git diff --git a/setup-ivi-boot b/setup-ivi-boot index 09336f0..b020d12 100755 --- a/setup-ivi-boot +++ b/setup-ivi-boot @@ -10,8 +10,13 @@ VER="1.0" srcdir="$(readlink -ev -- ${0%/*})" PATH="/usr/share/setup-ivi:$srcdir:$PATH" -. "$srcdir/setup-ivi-sh-functions" -. "$srcdir/installerfw-sh-functions" +if [ -f "$srcdir/setup-ivi-sh-functions" ]; then + . "$srcdir/setup-ivi-sh-functions" + . "$srcdir/installerfw-sh-functions" +else + . /usr/share/setup-ivi/setup-ivi-sh-functions + . /usr/share/setup-ivi/installerfw-sh-functions +fi # 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.