Parcourir la source

Update source-sounds.sh

FusionPBX il y a 2 ans
Parent
commit
66d52df5b1
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  1. 12 0
      debian/resources/switch/source-sounds.sh

+ 12 - 0
debian/resources/switch/source-sounds.sh

@@ -1,3 +1,15 @@
+#!/bin/sh
+
+#move to script directory so all relative paths work
+cd "$(dirname "$0")"
+
+#includes
+. ../config.sh
+. ../environment.sh
+
+# change the working directory
+cd /usr/src/freeswitch
+
 # compile and install the sounds
 make sounds-install moh-install
 make hd-sounds-install hd-moh-install