darrensessions / app_swift

app_swift
http://www.darrensessions.com
GNU General Public License v2.0
15 stars 30 forks source link

configure script errors out trying to parse asterisk 13 version number #21

Open pulverize opened 8 years ago

pulverize commented 8 years ago

Asterisk version is determined in configure script thusly:

AST_FULL_VER='asterisk -V | awk '{ print $2 }' -'

My fresh Asterisk 13.1 install prints "Asterisk certified/13.1-cert8" when fed the -V flag. AST_FULL_VER is therefore being set to "certified/13.1-cert8', which is preventing the makefile from building. The specific error I'm getting is "./configure: line 135: [: certified/13:integer expression expected"

jkister commented 8 years ago

I have it fixed in my repo. please try app_swift from github.com/jkister/app_swift

pulverize commented 8 years ago

Good man