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

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


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8232


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/32/8232/1

diff --git a/configure b/configure
index 3b1f668..61cae3c 100755
--- a/configure
+++ b/configure
@@ -4654,7 +4654,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 080fb3c..4b02d4e 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/8232
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
Gerrit-Change-Number: 8232
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/0fa7a0cc/attachment.html>


More information about the asterisk-code-review mailing list