diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-02 14:24:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-02 14:24:03 +0000 |
commit | 50ccfb291320049d541fc5074a1213a66920383c (patch) | |
tree | f30f7c57fa23a4c0e8bf1055271bcda9fffe4bf2 /main/iw/iw-git-version.patch | |
parent | 70389a0d59c21210fa41c3968d6f25525a10022d (diff) | |
download | aports-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.patch | 11 |
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 0000000000..0286eb4889 --- /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) + |