From 8f30c19dc1cdffbd9f15a11fd30baf4069710068 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 12 Aug 2008 20:27:27 +0000 Subject: Moving the source build script to svn export. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2256 4979c152-3d1c-0410-bac9-87ea11338e46 --- dists/source/build.sh | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/dists/source/build.sh b/dists/source/build.sh index 9bb5b5bb..f7122fad 100644 --- a/dists/source/build.sh +++ b/dists/source/build.sh @@ -2,28 +2,14 @@ # Simple script to prepare for release -version="1.3.0_milestone_1"; +version="1.3.0_milestone_2"; build_d="../release"; -if test -d blib; then - rm -rf blib +if test -d $build_d/ledgersmb; then + rm -rf $build_d/ledgersmb fi -if test -d _build; then - rm -rf _build -fi +svn export . $build_d/ledgersmb -if test -d $build_d/ledger-smb; then - rm -rf $build_d/ledger-smb -fi -if test ! -d $build_d; then - mkdir $build_d -fi -mkdir $build_d/ledger-smb -cp -R * $build_d/ledger-smb -cd $build_d/ledger-smb -pwd -find . -name '*.svn' -exec rm -rf '{}' ';' -rm ledger-smb.conf -cd .. -tar -zcvf ledger-smb-$version.tar.gz ledger-smb +cd $build_d +tar -zcvf ledgersmb-$version.tar.gz ledgersmb -- cgit v1.2.3