devtools update causes problems with sudo when used in a script?

view story

https://bbs.archlinux.org – I'm a little confused by this one, but I'm not convinced that it's a bug.. yet.Long story short, I compile packages using the ABS via a script/wrapper which uses devtools. The script is available here: https://github.com/WorMzy/compilepackageNow, this script is far from perfect, but has worked perfectly well (in various states of completeness) for the past year or so. However, with the recent update of devtools (20120720-1 => 20121013-1), my script fails to execute correctly. After entering the password when prompted (by sudo, at this line: https://github.com/WorMzy/compilepa (HowTos)