]> git.ipfire.org Git - thirdparty/iw.git/commit
Don't get iw version from git if there is no .git/
authorFlorian Schmaus <fschmaus@gmail.com>
Fri, 6 Sep 2013 15:41:10 +0000 (17:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 1 Oct 2013 11:03:15 +0000 (13:03 +0200)
commitb0dc6755d97e5add4ef23266a30fb8bdee5ca129
tree8fa741b4997edb0f4a69e83c7b6371ed92ed31a9
parent58b46da26ab9b5ff31c7033e175351eb1301d9af
Don't get iw version from git if there is no .git/

The version.sh script should only try to get the version from git if the
source actually resides in a git repository, i.e. .git/ exists. Doing
otherwise in a non-git source repo results in git ascending until it
finds a .git directory, which will cause problems in some source-based
distributions ( https://bugs.gentoo.org/show_bug.cgi?id=482334 ).
version.sh