summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-10-15 09:34:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-16 14:13:23 +0100
commita73895e492dc048da8304bdd0214c54a856fb117 (patch)
treeeeed00036983cb36d013e31197e6bf0b0a84b7b4
parent779539cfb9447fca3bb6c489ab0e1702455c304c (diff)
downloadpoky-a73895e492dc048da8304bdd0214c54a856fb117.tar.gz
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 <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/bin/toaster4
1 files changed, 1 insertions, 3 deletions
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
232 esac 232 esac
233done 233done
234 234
235[ -n "${BASH_SOURCE}" ] && SRCFILE=${BASH_SOURCE} || SRCFILE=$_ 235if [ `basename \"$0\"` = `basename \"${TOASTER}\"` ]; then
236
237if [ `basename \"$0\"` = `basename \"${SRCFILE}\"` ]; then
238 # We are called as standalone. We refuse to run in a build environment - we need the interactive mode for that. 236 # We are called as standalone. We refuse to run in a build environment - we need the interactive mode for that.
239 # Start just the web server, point the web browser to the interface, and start any Django services. 237 # Start just the web server, point the web browser to the interface, and start any Django services.
240 238