# Revert "Merge pull request \#21540 from BratishkaErik/search-env-in-path" · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0bacb79c090aabb367987ed0cff3982b84b8a4f7)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0bacb79c090aabb367987ed0cff3982b84b8a4f7

Requested commit: 0bacb79c090aabb367987ed0cff3982b84b8a4f7

Commit: 0bacb79c090aabb367987ed0cff3982b84b8a4f7

Tree: acc7fdcb04d06b0b8d97f76adebda083e849022c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "Merge pull request #21540 from BratishkaErik/search-env-in-path"

It caused an assertion failure when building Zig from source.

This reverts commit 0595feb34128db22fbebea843af929de3ede8190, reversing
changes made to 744771d3303e122474a72c8a94b14fe1e9fb480c.

closes #22566
closes #22568

```

## Parents

- [18fcb3b5e82d84e50b951373203f48325b2feada](https://git.cafe/gitcafe/zig/commit/18fcb3b5e82d84e50b951373203f48325b2feada?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0bacb79c090aabb367987ed0cff3982b84b8a4f7?format=markdown)
