mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 09:32:34 +00:00
Remove bashism from our Makefile hack
This makes portable the fix from commit 28ee7736d967f18215ef35f9cda82990baa82cc5.
This commit is contained in:
parent
71368da78e
commit
3c0e40ea7e
@ -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`;\
|
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`; \
|
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`; \
|
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_prefix" = "sounds"; then \
|
||||||
if test "$$target" = "install"; then \
|
if test "$$target" = "install"; then \
|
||||||
$(GETSOUNDS) $$soundfile $(DESTDIR)$(soundsdir)/;\
|
$(GETSOUNDS) $$soundfile $(DESTDIR)$(soundsdir)/;\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user