From 76ec47a71a94d95451e36a71c847c29175044eae Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 27 Jul 2010 09:38:56 +0000 Subject: testing/iw: new aport nl80211 based CLI configuration utility for wireless devices http://wireless.kernel.org/en/users/Documentation/iw --- testing/iw/iw-git-version.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/iw/iw-git-version.patch (limited to 'testing/iw/iw-git-version.patch') diff --git a/testing/iw/iw-git-version.patch b/testing/iw/iw-git-version.patch new file mode 100644 index 0000000000..0286eb4889 --- /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) + -- cgit v1.2.3