From 970005dc76aaace47b87aeab432ca60a8b137f0e Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 13 Nov 2006 07:32:25 +0000 Subject: Updating build.sh git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@564 4979c152-3d1c-0410-bac9-87ea11338e46 --- dists/source/build.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'dists/source') diff --git a/dists/source/build.sh b/dists/source/build.sh index 3859bd03..723be95e 100644 --- a/dists/source/build.sh +++ b/dists/source/build.sh @@ -3,9 +3,16 @@ # Simple script to prepare for release version="1.2.0b1"; +build_d="../release"; -cp ledger-smb ../releases/ -cd ../releases/ledger-smb +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 +cp ledger-smb $build_d +cd $build_d/ledger-smb find -name '*.svn' -exec rm -rf '{}' ';' rm ledger-smb.conf cd .. -- cgit v1.2.3