Skip to content

Commit

Permalink
Export variable XTRA
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaarreell committed Sep 4, 2023
1 parent d418ddf commit 4232158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/sync/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fi

# define XTRA variable if not defined but TMT variables are exposed
if [ -z "$XTRA" ] && [ -n "$TMT_TREE" ] && [ -n "$TMT_TEST_SERIAL_NUMBER" ]; then
XTRA="$(echo $TMT_TREE | sed 's#^.*/run-\([0-9]*\)/.*#\1#')-$TMT_TEST_SERIAL_NUMBER"
export XTRA="$(echo $TMT_TREE | sed 's#^.*/run-\([0-9]*\)/.*#\1#')-$TMT_TEST_SERIAL_NUMBER"
fi
echo "XTRA=$XTRA"

Expand Down

0 comments on commit 4232158

Please sign in to comment.