~coughphp/coughphp/2.0

« back to all changes in this revision

Viewing changes to scripts/make_release

  • Committer: awbush
  • Date: 2008-05-02 06:39:53 UTC
  • Revision ID: vcs-imports@canonical.com-20080502063953-5st7296t4u4xc7rt
Fixed the make_release script so that the .svn directories are not left behind.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
cp -rp "$1" "$2"
13
13
rm -rf "$2/design" "$2/simpletest" "$2/developer_docs" "$2/scripts/make_release" "$2/CoughPHP.tmproj"
14
 
find "$2" -type d -name .svn -or -name tests -print0 | xargs -0 rm -rf
 
14
find "$2" -type d \( -name .svn -or -name tests \) -exec rm -rf {} \;
15
15
tar -czf "$2.tar.gz" "$2"