Fix setting environment variables with sudo
Fix setting environment variables with sudo

JackDanger/rpi-update,Gouthamve/rpi-update,shrx/rpi-update,c0d3z3r0/rock-update,shaun10/rpi-update,lurch/rpi-update,TwizzyDizzy/rpi-update,Hexxeh/rpi-update,vinodpanicker/rpi-update