Remove bashism from our Makefile hack

This makes portable the fix from commit
28ee7736d9.
This commit is contained in:
Travis Cross 2014-05-08 21:26:03 +00:00
parent 71368da78e
commit 3c0e40ea7e
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ DEFAULT_SOUNDS=en-us-callie-8000
sounds_version=`grep $$base_sound_dir $(switch_srcdir)/build/sounds_version.txt | cut -d ' ' -f2`;\
soundfile=`echo freeswitch-sounds-$$full_sound_dir-$$moh_version.tar.gz`; \
echo $$full_sound_dir | grep music >/dev/null || soundfile=`echo freeswitch-sounds-$$full_sound_dir-$$sounds_version.tar.gz`; \
if [[ $@ != -l* ]] ; then \
args="$@"; if test -z "$$args" || test "$${args#-l*}" = "$args"; then \
if test "$$target_prefix" = "sounds"; then \
if test "$$target" = "install"; then \
$(GETSOUNDS) $$soundfile $(DESTDIR)$(soundsdir)/;\