summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-06-01 20:59:52 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-01 21:45:50 +0200
commitfa1f2682d4b8077a6c82002976f090827db3d8e5 (patch)
treeea3a2eb9491f0e8bc996d09f3b84688626e1b55b /src/target/target.c
parent796086cd49f769a55bebcdd43d2d348672c87371 (diff)
downloadopenocd+libswd-fa1f2682d4b8077a6c82002976f090827db3d8e5.tar.gz
openocd+libswd-fa1f2682d4b8077a6c82002976f090827db3d8e5.tar.bz2
openocd+libswd-fa1f2682d4b8077a6c82002976f090827db3d8e5.tar.xz
openocd+libswd-fa1f2682d4b8077a6c82002976f090827db3d8e5.zip
bootstrap: Various code improvements
- 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 - Consistent indentation - UNIX style error messages
Diffstat (limited to 'src/target/target.c')
0 files changed, 0 insertions, 0 deletions