void-packages/srcpkgs/aircrack-ng/patches/evalrev.patch

14 lines
307 B
Diff

diff --git a/evalrev b/evalrev
index 19b38d6b..afb4157e 100755
--- a/evalrev
+++ b/evalrev
@@ -49,7 +49,7 @@ elif test -d "${DIR}/.svn"; then
SCM="_r1"
fi
else
- REVISION="$(cat ${DIR}/AC_VERSION)"
+ REVISION="$(cat ${DIR}/AC_VERSION 2>/dev/null)"
fi
if test "x$CMD" = "xscm"; then