git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34edb1b
)
test for pre- version numbers
author
Herb Lewis
<herb@samba.org>
Mon, 17 Jan 2000 23:16:23 +0000
(23:16 +0000)
committer
Herb Lewis
<herb@samba.org>
Mon, 17 Jan 2000 23:16:23 +0000
(23:16 +0000)
(This used to be commit
c1f25dbf996de50f486a165b314119e9f4ae0419
)
packaging/SGI/spec.pl
patch
|
blob
|
history
diff --git
a/packaging/SGI/spec.pl
b/packaging/SGI/spec.pl
index 3bd643eef6ed1eb10a03d20c58f20042075a926a..4541eb04ec3520d8ee5f3cf4d17b582bc67db5f1 100755
(executable)
--- a/
packaging/SGI/spec.pl
+++ b/
packaging/SGI/spec.pl
@@
-22,6
+22,10
@@
elsif (/-HEAD/) {
$_ =~ s/-HEAD/.01/;
$_ .= '.99';
}
+elsif (/pre-/) {
+ $_ =~ s/pre-//;
+ $_ .= '.00';
+}
elsif (/p/) {
$_ =~ s/p/./;
$_ .= '.00';