summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
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 ..