Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-20 build: fix confirmpatches, remove old patches
[fs/lustre-release.git]
/
build
/
funcs.sh
diff --git
a/build/funcs.sh
b/build/funcs.sh
index
268d84d
..
0a1571f
100644
(file)
--- a/
build/funcs.sh
+++ b/
build/funcs.sh
@@
-184,7
+184,7
@@
autodetect_target() {
rhel5) target="2.6-rhel5";;
rhel6) target="2.6-rhel6";;
sles10) target="2.6-sles10";;
rhel5) target="2.6-rhel5";;
rhel6) target="2.6-rhel6";;
sles10) target="2.6-sles10";;
- sles11) target="
2.6
-sles11";;
+ sles11) target="
$(uname -r | cut -d . -f 1,2)
-sles11";;
fc15) target="2.6-fc15";;
*) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
esac
fc15) target="2.6-fc15";;
*) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
esac