Re: [Openocd-development] [PATCH v2] bootstrap: Various code improvements

2011-06-01 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-d

[Openocd-development] [PATCH v2] bootstrap: Various code improvements

2011-06-01 Thread Tormod Volden
From: Tormod Volden - Do not specify -e twice. - Use "which" instead of calling commands that might not exist. - Fix bashism ("==" is C not sh) - Carefully quote potentially empty variables - Check command arguments before doing anything - Rewrite argument checking to be more easily extensible -