Browse Source

Update source-sounds.sh

FusionPBX 2 years ago
parent
commit
66d52df5b1
1 changed files with 12 additions and 0 deletions
  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