diff --git a/debian/resources/switch/source-release.sh b/debian/resources/switch/source-release.sh index 9849531..ad204d2 100755 --- a/debian/resources/switch/source-release.sh +++ b/debian/resources/switch/source-release.sh @@ -57,9 +57,7 @@ if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then #git clone https://github.com/freeswitch/sofia-sip.git sofia-sip wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip unzip v$sofia_version.zip - rm -R sofia-sip - mv sofia-sip-$sofia_version sofia-sip - cd sofia-sip + cd sofia-sip-$sofia_version sh autogen.sh ./configure make -j $(getconf _NPROCESSORS_ONLN) diff --git a/ubuntu/resources/switch/source-release.sh b/ubuntu/resources/switch/source-release.sh index e75d783..204eb8c 100755 --- a/ubuntu/resources/switch/source-release.sh +++ b/ubuntu/resources/switch/source-release.sh @@ -44,9 +44,7 @@ cd /usr/src #git clone https://github.com/freeswitch/sofia-sip.git sofia-sip wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip unzip v$sofia_version.zip -rm -R sofia-sip -mv sofia-sip-$sofia_version sofia-sip -cd sofia-sip +cd sofia-sip-$sofia_version sh autogen.sh ./configure make