[asterisk-commits] russell: trunk r69691 - in /trunk: ./ build_tools/prep_moduledeps
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 18 11:15:44 CDT 2007
Author: russell
Date: Mon Jun 18 11:15:44 2007
New Revision: 69691
URL: http://svn.digium.com/view/asterisk?view=rev&rev=69691
Log:
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.
........
Modified:
trunk/ (props changed)
trunk/build_tools/prep_moduledeps
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/build_tools/prep_moduledeps
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/prep_moduledeps?view=diff&rev=69691&r1=69690&r2=69691
==============================================================================
--- trunk/build_tools/prep_moduledeps (original)
+++ trunk/build_tools/prep_moduledeps Mon Jun 18 11:15:44 2007
@@ -10,7 +10,7 @@
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 @@
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\"?>"
More information about the asterisk-commits
mailing list