From 3c0e40ea7e121800e448598e82b41933988fb145 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 8 May 2014 21:26:03 +0000 Subject: [PATCH] Remove bashism from our Makefile hack This makes portable the fix from commit 28ee7736d967f18215ef35f9cda82990baa82cc5. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 33890f4b92..c4eaf62f1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)/;\