diff options
Diffstat (limited to 'make_src_targz.sh')
-rwxr-xr-x | make_src_targz.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/make_src_targz.sh b/make_src_targz.sh new file mode 100755 index 00000000..d2dc1421 --- /dev/null +++ b/make_src_targz.sh @@ -0,0 +1,21 @@ +# export the current directory + +################################################################################ +## This file is part of CodeLite IDE and is released +## under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +################################################################################ + +cur_rev=`svn info | grep Revision | awk '{print $2;}'` +curdir=`pwd` +rm -fr /tmp/codelite-${cur_rev}/ + +svn export . /tmp/codelite-1.0.${cur_rev}/ + +## set correct permissions + +cp ./LiteEditor/svninfo.cpp /tmp/codelite-1.0.${cur_rev}/LiteEditor/ +echo "Creating tar-ball" +cd /tmp/ +tar cvfz ${curdir}/codelite-1.0.${cur_rev}.tar.gz codelite-1.0.${cur_rev}/* |