PageRenderTime 25ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/create_tar_from_svn.sh

https://github.com/lion-simba/WinFF
Shell | 22 lines | 13 code | 4 blank | 5 comment | 1 complexity | 8f42665ad4c4fabc6d9d145f25511ea7 MD5 | raw file
Possible License(s): GPL-3.0, CC-BY-SA-4.0
  1. #!/bin/sh
  2. # Script to create a release tar.gz from subversion export and (not yet implemented)
  3. # upload to the download section of googlecode.
  4. # Created by Paul Gevers <paul@climbing.nl> (30 Aug 2009)
  5. # Copyright 2009 by Matthew Weatherford <matt@biggmatt.com>
  6. VERSION="1.1.1"
  7. SVN="/usr/bin/svn"
  8. TAR="/bin/tar"
  9. REPOSITORY="http://winff.googlecode.com/svn/trunk/%20winff%20--username%20bggmtt"
  10. TMPDIR=`/bin/mktemp -d -t winff.XXXXXX` || exit 1
  11. cd $TMPDIR
  12. pwd
  13. $SVN export $REPOSITORY winff
  14. cd winff
  15. rm -rf debian hardy intrepid jaunty win32setup
  16. cd $TMPDIR
  17. $TAR -czf winff-${VERSION}-source.tar.gz
  18. echo "Source file can be found at ${TMPDIR}/winff-${VERSION}-source.tar.gz"