Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't ever try to overwrite /usr/bin/git
Previously, version.sh got the path to git as its first and only argument. Since the previous commit, this is not the path to src/version.cpp and the second argument is the path to git. However, let's assume someone does "git pull && make". They still have the old Makefile laying around, which will pass the path to git as the first argument to version.sh. Thus, this will overwrite /usr/bin/git with some generated source code. Whoops. Thanks to KindOne for reporting this problem! Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters