[Libreoffice-commits] .: autogen.sh
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Aug 30 18:53:21 PDT 2011
autogen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8d6d6bd8bd86aa54cb425241df54bec72e12383e
Author: Stephan Bergmann <stephan.bergmann.secondary at googlemail.com>
Date: Tue Aug 30 21:48:32 2011 -0400
Fix to create autogen.lastrun for a single argument case.
diff --git a/autogen.sh b/autogen.sh
index 6135d17..a37953c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -139,7 +139,7 @@ if (defined $ENV{NOCONFIGURE}) {
} else {
# Save autogen.lastrun only if we did get some arguments on the command-line
if (@ARGV) {
- if ($#cmdline_args > 0) {
+ if (scalar(@cmdline_args) > 0) {
# print "writing args to autogen.lastrun\n";
my $fh;
open ($fh, ">autogen.lastrun") || die "can't open autogen.lastrun: $!";
More information about the Libreoffice-commits
mailing list