forked from norman/fusionpbx-install.sh-github-mirror
Add the -$switch_version postfix and use it consistently
This commit is contained in:
6
debian/resources/switch/source-sounds.sh
vendored
6
debian/resources/switch/source-sounds.sh
vendored
@@ -8,11 +8,7 @@ cd "$(dirname "$0")"
|
||||
. ../environment.sh
|
||||
|
||||
# change the working directory
|
||||
if [ ."$switch_branch" = ."master" ]; then
|
||||
cd /usr/src/freeswitch
|
||||
else
|
||||
cd /usr/src/freeswitch-$switch_version
|
||||
fi
|
||||
cd /usr/src/freeswitch-$switch_version
|
||||
|
||||
# compile and install the sounds
|
||||
make sounds-install moh-install
|
||||
|
||||
Reference in New Issue
Block a user