Skip to content

Commit 9d3eee7

Browse files
committed
fix detect_python.fish: 'set -x' should be 'set -gx' because of function
1 parent 6d70a27 commit 9d3eee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/detect_python.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test -n "$ESP_PYTHON"; or return 1
3131

3232
$ESP_PYTHON --version
3333
echo "$ESP_PYTHON has been detected"
34-
set -x ESP_PYTHON "$ESP_PYTHON"
34+
set -gx ESP_PYTHON "$ESP_PYTHON"
3535

3636
end
3737
detect_python # Make sure at last line call function, because outside caller need its return value

0 commit comments

Comments
 (0)