From: Ed Bartosh Date: Thu, 15 Oct 2015 16:34:15 +0000 (-0700) Subject: toaster: get rid of SRCFILE X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b8cb1098ad73b4e9dc65b5c6de7d11d2e2468c7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: get rid of SRCFILE Used TOASTER variable instead of SRCFILE as they're essentially the same. Signed-off-by: Ed Bartosh Signed-off-by: brian avery Signed-off-by: Richard Purdie --- diff --git a/bin/toaster b/bin/toaster index 75d3390d04d..d7c5a845e48 100755 --- a/bin/toaster +++ b/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.