diff options
| author | Carlo Landmeter <clandmeter@gmail.com> | 2010-12-21 15:50:44 +0100 |
|---|---|---|
| committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-12-21 15:50:44 +0100 |
| commit | b0844388ab1a08db016d6716af3a9fa2af7ea475 (patch) | |
| tree | 6376f45e194b7fc0822c11306516b94f10c843fb /testing/linux-scst/setlocalversion.patch | |
| parent | a96c117627b6663198fafc2cffa16b6307fe3e50 (diff) | |
| download | aports-b0844388ab1a08db016d6716af3a9fa2af7ea475.tar.bz2 aports-b0844388ab1a08db016d6716af3a9fa2af7ea475.tar.xz | |
testing/linux-scst: move scst modules in-tree and upgrade to 2.6.35.9
Diffstat (limited to 'testing/linux-scst/setlocalversion.patch')
| -rw-r--r-- | testing/linux-scst/setlocalversion.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/linux-scst/setlocalversion.patch b/testing/linux-scst/setlocalversion.patch new file mode 100644 index 0000000000..d82eb170ab --- /dev/null +++ b/testing/linux-scst/setlocalversion.patch @@ -0,0 +1,11 @@ +--- ./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. |
