summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 20:27:27 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 20:27:27 +0000
commit8f30c19dc1cdffbd9f15a11fd30baf4069710068 (patch)
treeb39a990ef6f4daa4fa83070a1323e04c2b98e51f /dists
parent0ae86e08e067e8c4c38ae4e41a9839408c1817d9 (diff)
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
Diffstat (limited to 'dists')
-rw-r--r--dists/source/build.sh26
1 files 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