Skip to content

Commit

Permalink
Improved the assignation of internal variables
Browse files Browse the repository at this point in the history
  • Loading branch information
diego-treitos committed Dec 16, 2019
1 parent b9f2cdf commit f14477c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ lse_test() {
output="`eval "$cmd" 2>/dev/null`"
# Assign variable if available
fi
[ "$var" ] && eval "$var='$output'"
[ "$var" ] && export "${var}"="$output"
# Mark test as executed
lse_executed_tests+=" $id"
fi
Expand Down

0 comments on commit f14477c

Please sign in to comment.