summaryrefslogtreecommitdiffstats
path: root/testing/iw/iw-git-version.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-27 09:38:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-27 09:38:56 +0000
commit76ec47a71a94d95451e36a71c847c29175044eae (patch)
tree206437ed514a8a1a5b3924dc894064d6741dfcb2 /testing/iw/iw-git-version.patch
parent2baa221ac5044549d9ad58611b2316243bb126d0 (diff)
downloadaports-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.patch11
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)
+