summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/toaster
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/toaster')
-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