From 4f58c429721087e34db91063637a0d08f2dbcf24 Mon Sep 17 00:00:00 2001 From: "Mauro S. M. Rodrigues" Date: Fri, 12 Sep 2014 02:21:13 +0000 Subject: [PATCH] Add $TOP_DIR to the path when calling worlddump script The missing reference to $TOP_DIR cause stack.sh to fail when called from outside devstack's directory Change-Id: I7faec7720896e7dcfe60fa87fb417f22c8801eef --- stack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack.sh b/stack.sh index 7bfd072f18..8da9d3cda1 100755 --- a/stack.sh +++ b/stack.sh @@ -639,9 +639,9 @@ function exit_trap { if [[ $r -ne 0 ]]; then echo "Error on exit" if [[ -z $LOGDIR ]]; then - ./tools/worlddump.py + $TOP_DIR/tools/worlddump.py else - ./tools/worlddump.py -d $LOGDIR + $TOP_DIR/tools/worlddump.py -d $LOGDIR fi fi