summaryrefslogtreecommitdiff
path: root/dists/source/build.sh
blob: 2062c4e8f411db151d3afcc4113c393f864f7fae (plain)
  1. #!/bin/bash
  2. # Simple script to prepare for release
  3. version="1.2.0b1";
  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