From a73895e492dc048da8304bdd0214c54a856fb117 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 15 Oct 2015 09:34:15 -0700 Subject: bitbake: toaster: get rid of SRCFILE Used TOASTER variable instead of SRCFILE as they're essentially the same. (Bitbake rev: 4b8cb1098ad73b4e9dc65b5c6de7d11d2e2468c7) Signed-off-by: Ed Bartosh Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/bin/toaster | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bitbake') diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 75d3390d04..d7c5a845e4 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -232,9 +232,7 @@ for param in $*; do esac done -[ -n "${BASH_SOURCE}" ] && SRCFILE=${BASH_SOURCE} || SRCFILE=$_ - -if [ `basename \"$0\"` = `basename \"${SRCFILE}\"` ]; then +if [ `basename \"$0\"` = `basename \"${TOASTER}\"` ]; then # We are called as standalone. We refuse to run in a build environment - we need the interactive mode for that. # Start just the web server, point the web browser to the interface, and start any Django services. -- cgit v1.2.3-54-g00ecf