From 6289b6885b927ed53339b65ebf0294c52adac602 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 18 May 2026 19:35:49 +0000 Subject: [PATCH] Fix switch_version condition syntax --- debian/resources/switch/source-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/resources/switch/source-release.sh b/debian/resources/switch/source-release.sh index 26edc63..d270cda 100755 --- a/debian/resources/switch/source-release.sh +++ b/debian/resources/switch/source-release.sh @@ -43,7 +43,7 @@ apt install -y sqlite3 unzip CWD=$(pwd) #install the following dependencies if the switch version is greater than 1.10.0 -if [ ."$switch_branch" = ."master" ]; then +if [ ."$switch_branch" = ."stable" || ."$switch_branch" = ."master" ]; then # libks build-requirements apt install -y cmake uuid-dev @@ -119,7 +119,7 @@ if [ ."$switch_branch" != ."master" ] && [ ."$switch_branch" = ."stable" ]; then echo "Using version $switch_version" # Get the source code using git - if [ ."$switch_version" == ."1.11" ]; then + if [ ."$switch_version" = ."1.11" ]; then git clone https://github.com/signalwire/freeswitch.git freeswitch-$switch_version # Change the working directory @@ -130,7 +130,7 @@ if [ ."$switch_branch" != ."master" ] && [ ."$switch_branch" = ."stable" ]; then fi # Get the source code using git - if [ ."$switch_version" == ."1.10.12" ]; then + if [ ."$switch_version" = ."1.10.12" ]; then git clone https://github.com/fusionpbx/freeswitch freeswitch-$switch_version # Change the working directory