Skip to content

Commit 4f58c42

Browse files
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
1 parent 58deafc commit 4f58c42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stack.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,9 +639,9 @@ function exit_trap {
639639
if [[ $r -ne 0 ]]; then
640640
echo "Error on exit"
641641
if [[ -z $LOGDIR ]]; then
642-
./tools/worlddump.py
642+
$TOP_DIR/tools/worlddump.py
643643
else
644-
./tools/worlddump.py -d $LOGDIR
644+
$TOP_DIR/tools/worlddump.py -d $LOGDIR
645645
fi
646646
fi
647647

0 commit comments

Comments
 (0)