From: Russell Bryant Date: Mon, 18 Jun 2007 16:15:44 +0000 (+0000) Subject: Merged revisions 69689 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~2353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4eeab6657cc5b833e8f47a0035a6d3089cebf48;p=thirdparty%2Fasterisk.git Merged revisions 69689 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r69689 | russell | 2007-06-18 11:15:12 -0500 (Mon, 18 Jun 2007) | 5 lines Change the use of "echo -e" to "printf". On systems where /bin/sh is not bash, most of the lines in menuselect-tree were getting a "-e" at the beginning of every line. I'm surprised nobody noticed this, but I think the XML parser was being very nice and ignoring them. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69691 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps index 21f1f5e4a9..01aeda6b70 100755 --- a/build_tools/prep_moduledeps +++ b/build_tools/prep_moduledeps @@ -10,7 +10,7 @@ process_dir() { catsuffix=${3} displayname=${4} - echo -e "\t" + printf "\t\n" for file in `ls ${dir}/${prefix}*.c ${dir}/${prefix}*.cc 2> /dev/null | sort` do if [ ! -f ${file} ]; then @@ -20,12 +20,12 @@ process_dir() { fname=`basename ${fname} .cc` get_description ${file} desc=${TDESC} - echo -e "\t\t" + printf "\t\t\n" awk -f build_tools/get_moduleinfo ${file} - echo -e "\t\t" + printf "\t\t\n" awk -f build_tools/get_makeopts ${file} >> .makeoptstmp done - echo -e "\t" + printf "\t\n" } echo ""