[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH 003/008] Fix --release_* check




-- 
I'm going to make him an offer he can't refuse.
#! /bin/sh /usr/share/dpatch/dpatch-run
## 003_fix_release_checking.dpatch by  <fabbione gordian int fabbione net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad redhat-cluster-suite-2.20070427~/configure redhat-cluster-suite-2.20070427/configure
--- redhat-cluster-suite-2.20070427~/configure	2007-04-27 09:52:32.000000000 +0200
+++ redhat-cluster-suite-2.20070427/configure	2007-04-27 09:54:37.000000000 +0200
@@ -324,7 +324,7 @@
 }
 
 close IFILE;
-if ((!$release_major) || (!$release_minor)) {
+if ((not length $release_major) || (not length $release_minor)) {
   open IFILE, "<make/release.mk.input" or die "Can't redirect stdin";
   while (<IFILE>) {
     chomp;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]