diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-10-15 09:34:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-16 14:13:23 +0100 |
commit | a73895e492dc048da8304bdd0214c54a856fb117 (patch) | |
tree | eeed00036983cb36d013e31197e6bf0b0a84b7b4 | |
parent | 779539cfb9447fca3bb6c489ab0e1702455c304c (diff) | |
download | poky-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-x | bitbake/bin/toaster | 4 |
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 |
233 | done | 233 | done |
234 | 234 | ||
235 | [ -n "${BASH_SOURCE}" ] && SRCFILE=${BASH_SOURCE} || SRCFILE=$_ | 235 | if [ `basename \"$0\"` = `basename \"${TOASTER}\"` ]; then |
236 | |||
237 | if [ `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 | ||