From c8ad3bbf5e7b31ebf77d1013580d53da6db327f4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 19 Mar 2021 19:38:42 -0600 Subject: [PATCH] Remove pushd and pop These are fancy tools but not as intuitive. --- ubuntu/resources/switch/source-release.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ubuntu/resources/switch/source-release.sh b/ubuntu/resources/switch/source-release.sh index 963c301..f010c2b 100755 --- a/ubuntu/resources/switch/source-release.sh +++ b/ubuntu/resources/switch/source-release.sh @@ -36,7 +36,7 @@ wget http://files.freeswitch.org/freeswitch-releases/freeswitch-$switch_version. unzip freeswitch-$switch_version.-release.zip rm -R freeswitch mv freeswitch-$switch_version.-release freeswitch -pushd /usr/src/freeswitch +cd /usr/src/freeswitch # bootstrap is needed if using git #./bootstrap.sh -j @@ -69,8 +69,6 @@ make sounds-install moh-install make hd-sounds-install hd-moh-install make cd-sounds-install cd-moh-install -popd - #move the music into music/default directory mkdir -p /usr/share/freeswitch/sounds/music/default mv /usr/share/freeswitch/sounds/music/*000 /usr/share/freeswitch/sounds/music/default