[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [564] trunk/dists/source/build.sh



Revision: 564
          http://svn.sourceforge.net/ledger-smb/?rev=564&view=rev
Author:   einhverfr
Date:     2006-11-12 23:32:25 -0800 (Sun, 12 Nov 2006)

Log Message:
-----------
Updating build.sh

Modified Paths:
--------------
    trunk/dists/source/build.sh

Modified: trunk/dists/source/build.sh
===================================================================
--- trunk/dists/source/build.sh	2006-11-13 07:27:23 UTC (rev 563)
+++ trunk/dists/source/build.sh	2006-11-13 07:32:25 UTC (rev 564)
@@ -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 ..


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.