diff options
Diffstat (limited to 'main/linux-grsec/setlocalversion.patch')
-rw-r--r-- | main/linux-grsec/setlocalversion.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/main/linux-grsec/setlocalversion.patch b/main/linux-grsec/setlocalversion.patch deleted file mode 100644 index d82eb170ab..0000000000 --- a/main/linux-grsec/setlocalversion.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./scripts/setlocalversion.orig -+++ ./scripts/setlocalversion -@@ -43,7 +43,7 @@ - fi - - # Check for git and a git repo. -- if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then -+ if [ -d "$srctree"/.git ] && head=`git rev-parse --verify --short HEAD 2>/dev/null`; then - - # If we are at a tagged commit (like "v2.6.30-rc6"), we ignore - # it, because this version is defined in the top level Makefile. |