From beb988e5ee550c609f69a9c756f0f867d9de1cec Mon Sep 17 00:00:00 2001
From: "Unknown (abagchi)" <dev-null@apache.org>
Date: Tue, 4 Apr 2000 22:52:30 +0000
Subject: [PATCH] Fixed opt_r logic while calling runConfigure

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@172014 13f79535-47bb-0310-9956-ffa450edef68
---
 scripts/packageBinaries.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/packageBinaries.pl b/scripts/packageBinaries.pl
index f8281fa9b..b403cb581 100644
--- a/scripts/packageBinaries.pl
+++ b/scripts/packageBinaries.pl
@@ -377,7 +377,7 @@ if ( ($platform =~ m/AIX/i)    || ($platform =~ m/HP-UX/i) ||
 	if ( $platform =~ m/AIX/i ) { $platform = "aix"; }
         if ( $platform =~ m/ptx/i ) { $platform = "ptx"; }
 
-	if (!length($opt_r)) {
+	if (length($opt_r) > 0) {
         	system ("runConfigure -p$platform -c$opt_c -x$opt_x -m$opt_m -n$opt_n -t$opt_t -r$opt_r");
 	} else {
         	system ("runConfigure -p$platform -c$opt_c -x$opt_x -m$opt_m -n$opt_n -t$opt_t");
-- 
GitLab