From: GitHub <no...@gi...> - 2013-03-31 18:40:24
|
Branch: refs/heads/master Home: https://github.com/znc/znc Commit: 3a7dc7aa73ac07bc079feea374a51f47fd586bc0 https://github.com/znc/znc/commit/3a7dc7aa73ac07bc079feea374a51f47fd586bc0 Author: Uli Schlachter <ps...@zn...> Date: 2013-03-31 (Sun, 31 Mar 2013) Changed paths: M Makefile.in M version.sh Log Message: ----------- 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 <ps...@zn...> |