diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-18 16:15:12 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-18 16:15:12 +0000 |
commit | 28bc8008154a6262b5814b90f2814ef90e743164 (patch) | |
tree | 1c280b4d85fc3f964ace467addfdd5bb5cdb5152 /build_tools | |
parent | 9b09201b6383bf73a07927e972e58a06e1e37303 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@69689 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/prep_moduledeps | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps index 21f1f5e4a..01aeda6b7 100755 --- a/build_tools/prep_moduledeps +++ b/build_tools/prep_moduledeps @@ -10,7 +10,7 @@ process_dir() { catsuffix=${3} displayname=${4} - echo -e "\t<category name=\"MENUSELECT_${catsuffix}\" displayname=\"${displayname}\" remove_on_change=\"${dir}/modules.link\">" + printf "\t<category name=\"MENUSELECT_${catsuffix}\" displayname=\"${displayname}\" remove_on_change=\"${dir}/modules.link\">\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<member name=\"${fname}\" displayname=\"${desc}\" remove_on_change=\"${dir}/${fname}.o ${dir}/${fname}.oo ${dir}/${fname}.so\">" + printf "\t\t<member name=\"${fname}\" displayname=\"${desc}\" remove_on_change=\"${dir}/${fname}.o ${dir}/${fname}.oo ${dir}/${fname}.so\">\n" awk -f build_tools/get_moduleinfo ${file} - echo -e "\t\t</member>" + printf "\t\t</member>\n" awk -f build_tools/get_makeopts ${file} >> .makeoptstmp done - echo -e "\t</category>" + printf "\t</category>\n" } echo "<?xml version=\"1.0\"?>" |