/[escript]/release/5.1/scripts/makesrc.sh
ViewVC logotype

Diff of /release/5.1/scripts/makesrc.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5797 by jfenwick, Tue Sep 22 01:32:21 2015 UTC revision 5856 by jfenwick, Tue Dec 15 06:31:27 2015 UTC
# Line 2  Line 2 
2  #Make the source tarball for debian release  #Make the source tarball for debian release
3  #Run this from a clean checkout  #Run this from a clean checkout
4    
5  SRCVERSION=`head -1 debian/changelog | cut -f2 -d- | cut -d\( -f2`  SRCVERSION=`head -1 debian/changelog | tr -d '()' | tr -s '-' ' '| cut -d\  -f3`
6    
7  svnversion | grep -q :  svnversion | grep -q :
8  if [ $? == 0 ]  if [ $? == 0 ]
# Line 13  then Line 13  then
13  fi  fi
14  svnversion > svn_version  svnversion > svn_version
15    
16  tar -czf ../python-escript_$SRCVERSION.orig.tar.gz --exclude-vcs --exclude=debian --exclude=localdebian --exclude=scons/*options.py *  ls scons/*options.py > toexclude
17    
18    tar -czf ../python-escript_$SRCVERSION.orig.tar.gz --exclude-vcs --exclude=debian --exclude=localdebian --exclude=toexclude --exclude-from toexclude *
19    
20    rm toexclude

Legend:
Removed from v.5797  
changed lines
  Added in v.5856

  ViewVC Help
Powered by ViewVC 1.1.26