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

Alexander Traud asteriskteam at digium.com
Fri Feb 16 07:54:08 CST 2018


Alexander Traud has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/31/8231/1

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: newchange
Gerrit-Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
Gerrit-Change-Number: 8231
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180216/018ead1d/attachment.html>


More information about the asterisk-code-review mailing list