diff options
| author | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
|---|---|---|
| committer | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
| commit | c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6 (patch) | |
| tree | 757a9482f91b80bc2551f1d794a052b8f901569e /main/linux-scst/setlocalversion.patch | |
| parent | 372b345f3b0740be075c4fa41c4bf31540132521 (diff) | |
| parent | 2d2e02b94b10ee5b4c2afeb69667015f1fc9015f (diff) | |
| download | aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.bz2 aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.xz | |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'main/linux-scst/setlocalversion.patch')
| -rw-r--r-- | main/linux-scst/setlocalversion.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/linux-scst/setlocalversion.patch b/main/linux-scst/setlocalversion.patch new file mode 100644 index 0000000000..d82eb170ab --- /dev/null +++ b/main/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. |
