debuggers: import openocd-0.7.0
Initial check-in of openocd-0.7.0 as it can be downloaded from http://sourceforge.net/projects/openocd/files/openocd/0.7.0/ Any modifications will follow. Change-Id: I6949beaefd589e046395ea0cb80f4e1ab1654d55
This commit is contained in:
19
debuggers/openocd/jimtcl/make-release.sh
Executable file
19
debuggers/openocd/jimtcl/make-release.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
version=`sed -n -e 's/.*JIM_VERSION *\([0-9]*\).*/0.\1/p' jim.h`
|
||||
|
||||
if [ `git clean -nqx | wc -l` -ne 0 ]; then
|
||||
git clean -nqx
|
||||
echo "***: Tree not clean"
|
||||
exit 1
|
||||
fi
|
||||
if [ `git status | grep modified: | wc -l` -ne 0 ]; then
|
||||
git status
|
||||
echo "***: Modified files exist"
|
||||
exit 1
|
||||
fi
|
||||
mkdir jimtcl-$version
|
||||
rsync --exclude=.git --exclude=jimtcl-$version -a ./ jimtcl-$version/
|
||||
tar -czf jimtcl-$version.tar.gz jimtcl-$version
|
||||
rm -rf jimtcl-$version
|
||||
ls -l jimtcl-$version.tar.gz
|
||||
Reference in New Issue
Block a user