[Asterisk-code-review] BuildSystem: Fix a typo related to ./configure --prefix=<pat... (asterisk[13])

Jenkins2 asteriskteam at digium.com
Mon Feb 19 18:31:30 CST 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8231 )

Change subject: BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD.
......................................................................

BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD.

Reported by: Stuart Henderson

Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
---
M configure
M configure.ac
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/configure b/configure
index 0ed3d38..22e13c2 100755
--- a/configure
+++ b/configure
@@ -4618,7 +4618,7 @@
 
 case "${host_os}" in
      *bsd*)
-     if test ${prefix} = 'NONE'; then
+     if test ${prefix} != 'NONE'; then
         astvarlibdir='${prefix}/share/asterisk'
         astdbdir='${localstatedir}/db/asterisk'
      fi
diff --git a/configure.ac b/configure.ac
index 780dc08..dd21696 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,7 +49,7 @@
 
 case "${host_os}" in
      *bsd*)
-     if test ${prefix} = 'NONE'; then
+     if test ${prefix} != 'NONE'; then
         astvarlibdir='${prefix}/share/asterisk'
         astdbdir='${localstatedir}/db/asterisk'
      fi

-- 
To view, visit https://gerrit.asterisk.org/8231
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
Gerrit-Change-Number: 8231
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180219/1ce57715/attachment.html>


More information about the asterisk-code-review mailing list