From 4b8cb1098ad73b4e9dc65b5c6de7d11d2e2468c7 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 15 Oct 2015 09:34:15 -0700 Subject: [PATCH] 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 --- bin/toaster | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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. -- 2.47.3