[zaptel-commits] kpfleming: branch 1.2 r2280 - /branches/1.2/build_tools/make_firmware_object

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Sun Mar 4 22:34:43 MST 2007


Author: kpfleming
Date: Sun Mar  4 23:34:43 2007
New Revision: 2280

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2280
Log:
ensure that we run objdump in the most generic language possible to avoid complications on non-English systems (issue #9196)

Modified:
    branches/1.2/build_tools/make_firmware_object

Modified: branches/1.2/build_tools/make_firmware_object
URL: http://svn.digium.com/view/zaptel/branches/1.2/build_tools/make_firmware_object?view=diff&rev=2280&r1=2279&r2=2280
==============================================================================
--- branches/1.2/build_tools/make_firmware_object (original)
+++ branches/1.2/build_tools/make_firmware_object Sun Mar  4 23:34:43 2007
@@ -6,7 +6,8 @@
 #   2 - output file
 #   3 - template output file (used to learn desired format)
 
-bfdname=`objdump -f ${3} | grep -e "${3}:" | sed "s/.*file format \(.*\)/\1/"`
-bfdarch=`objdump -f ${3} | grep -e "architecture:" | sed "s/.*ture: \(.*\),.*/\1/"`
+bfdname=`LANG=C objdump -f ${3} | grep -e "${3}:" | sed "s/.*file format \(.*\)/\1/"`
+bfdarch=`LANG=C objdump -f ${3} | grep -e "architecture:" | sed "s/.*ture: \(.*\),.*/\1/"`
 
 objcopy -I binary ${1} -B ${bfdarch} -O ${bfdname} ${2} --rename-section .data=.rodata,alloc,load,data,contents,readonly
+n



More information about the zaptel-commits mailing list