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-3157 llite: A not locked mutex can be unlocked.
[fs/lustre-release.git]
/
lustre
/
scripts
/
version_tag.pl
diff --git
a/lustre/scripts/version_tag.pl
b/lustre/scripts/version_tag.pl
index
6ba2494
..
61796c9
100644
(file)
--- a/
lustre/scripts/version_tag.pl
+++ b/
lustre/scripts/version_tag.pl
@@
-143,10
+143,10
@@
my $pristine = is_pristine();
my $buildid = get_buildid();
if ($progname eq "version_tag.pl") {
my $buildid = get_buildid();
if ($progname eq "version_tag.pl") {
- die("you have to configure with a linux kernel source/headers tree (i.e. using\n--with-linux=) before you can run this script\n")
- if ($am_linuxdir eq "");
+ my $kernver = "";
+ $kernver = get_kernver($am_linuxdir, $am_linuxobjdir)
+ if ($am_linuxdir ne "");
- my $kernver = get_kernver($am_linuxdir, $am_linuxobjdir);
my $linuxdir =~ s/\//\./g;
generate_ver($tag, $local_version, $buildid, $linuxdir, $pristine, $kernver,
$ENV{LUSTRE_VERS});
my $linuxdir =~ s/\//\./g;
generate_ver($tag, $local_version, $buildid, $linuxdir, $pristine, $kernver,
$ENV{LUSTRE_VERS});