summaryrefslogtreecommitdiff
path: root/dists/source/build.sh
blob: 6f7b33558bd550614b4b46cd91ba6c0b485d2fed (plain)
  1. #!/bin/bash
  2. # Simple script to prepare for release
  3. version="1.2.0b3";
  4. build_d="../release";
  5. if test -d $build_d/ledger-smb; then
  6. rm -rf $build_d/ledger-smb
  7. fi
  8. if test ! -d $build_d; then
  9. mkdir $build_d
  10. fi
  11. mkdir $build_d/ledger-smb
  12. cp -R * $build_d/ledger-smb
  13. cd $build_d/ledger-smb
  14. pwd
  15. find -name '*.svn' -exec rm -rf '{}' ';'
  16. rm ledger-smb.conf
  17. cd ..
  18. tar -zcvf ledger-smb-$version.tar.gz ledger-smb