Sfoglia il codice sorgente

Remove pushd and pop

These are fancy tools but not as intuitive.
FusionPBX 4 anni fa
parent
commit
c8ad3bbf5e
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      ubuntu/resources/switch/source-release.sh

+ 1 - 3
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
 unzip freeswitch-$switch_version.-release.zip
 rm -R freeswitch
 rm -R freeswitch
 mv freeswitch-$switch_version.-release freeswitch
 mv freeswitch-$switch_version.-release freeswitch
-pushd /usr/src/freeswitch
+cd /usr/src/freeswitch
 
 
 # bootstrap is needed if using git
 # bootstrap is needed if using git
 #./bootstrap.sh -j
 #./bootstrap.sh -j
@@ -69,8 +69,6 @@ make sounds-install moh-install
 make hd-sounds-install hd-moh-install
 make hd-sounds-install hd-moh-install
 make cd-sounds-install cd-moh-install
 make cd-sounds-install cd-moh-install
 
 
-popd
-
 #move the music into music/default directory
 #move the music into music/default directory
 mkdir -p /usr/share/freeswitch/sounds/music/default
 mkdir -p /usr/share/freeswitch/sounds/music/default
 mv /usr/share/freeswitch/sounds/music/*000 /usr/share/freeswitch/sounds/music/default
 mv /usr/share/freeswitch/sounds/music/*000 /usr/share/freeswitch/sounds/music/default