Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix the deletion of old pkg/sql/exec/*.eg.go files
With the recent renaming of pkg/sql/exec to pkg/sql/colexec, we want to remove the files generated into the old directory. However, the previous commands were not error-prone, i.e. if the directory didn't exist, the command would fail which would in turn could fail the build. Now this is fixed by either redirecting the error into /dev/null or testing for presence of the old directory. Also, remove the unnecessary command to delete pkg/sql/exec/*.og.go files (this was needed only for a few weeks in the Fall of 2018). Release justification: Category 1: Non-production code changes. Release note: None
- Loading branch information