diff options
-rwxr-xr-x | bitbake/bin/toaster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 359b23d6a5..de03099a68 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -281,7 +281,7 @@ fi | |||
281 | # 4) pid's we need to clean up on exit/shutdown | 281 | # 4) pid's we need to clean up on exit/shutdown |
282 | # note: for future. in order to make this an arbitrary directory, we need to | 282 | # note: for future. in order to make this an arbitrary directory, we need to |
283 | # make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does. | 283 | # make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does. |
284 | export TOASTER_DIR=`pwd` | 284 | export TOASTER_DIR=`dirname $BUILDDIR` |
285 | 285 | ||
286 | # Determine the action. If specified by arguments, fine, if not, toggle it | 286 | # Determine the action. If specified by arguments, fine, if not, toggle it |
287 | if [ "$1" = 'start' ] || [ "$1" = 'stop' ]; then | 287 | if [ "$1" = 'start' ] || [ "$1" = 'stop' ]; then |