summaryrefslogtreecommitdiffstats
path: root/main/iw/iw-git-version.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-02 14:24:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-02 14:24:03 +0000
commit50ccfb291320049d541fc5074a1213a66920383c (patch)
treef30f7c57fa23a4c0e8bf1055271bcda9fffe4bf2 /main/iw/iw-git-version.patch
parent70389a0d59c21210fa41c3968d6f25525a10022d (diff)
downloadaports-50ccfb291320049d541fc5074a1213a66920383c.tar.bz2
aports-50ccfb291320049d541fc5074a1213a66920383c.tar.xz
main/iw: moved from testing
Diffstat (limited to 'main/iw/iw-git-version.patch')
-rw-r--r--main/iw/iw-git-version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/iw/iw-git-version.patch b/main/iw/iw-git-version.patch
new file mode 100644
index 000000000..0286eb488
--- /dev/null
+++ b/main/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)
+