summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-13 07:32:25 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-13 07:32:25 +0000
commit970005dc76aaace47b87aeab432ca60a8b137f0e (patch)
tree6ccbeefc7759c6d45876b412698bf147b112539f /dists
parent01d30fb84e11d61c1f9397c6195c36bc502aae3c (diff)
Updating build.sh
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@564 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'dists')
-rw-r--r--dists/source/build.sh11
1 files changed, 9 insertions, 2 deletions
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 ..