diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-27 09:38:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-27 09:38:56 +0000 |
commit | 76ec47a71a94d95451e36a71c847c29175044eae (patch) | |
tree | 206437ed514a8a1a5b3924dc894064d6741dfcb2 /testing/iw/iw-git-version.patch | |
parent | 2baa221ac5044549d9ad58611b2316243bb126d0 (diff) | |
download | aports-76ec47a71a94d95451e36a71c847c29175044eae.tar.bz2 aports-76ec47a71a94d95451e36a71c847c29175044eae.tar.xz |
testing/iw: new aport
nl80211 based CLI configuration utility for wireless devices
http://wireless.kernel.org/en/users/Documentation/iw
Diffstat (limited to 'testing/iw/iw-git-version.patch')
-rw-r--r-- | testing/iw/iw-git-version.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/iw/iw-git-version.patch b/testing/iw/iw-git-version.patch new file mode 100644 index 000000000..0286eb488 --- /dev/null +++ b/testing/iw/iw-git-version.patch @@ -0,0 +1,11 @@ +--- ./version.sh.orig ++++ ./version.sh +@@ -5,7 +5,7 @@ + + echo '#include "iw.h"' > "$OUT" + +-if head=`git rev-parse --verify HEAD 2>/dev/null`; then ++if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then + git update-index --refresh --unmerged > /dev/null + descr=$(git describe) + |