Skip to content

Commit

Permalink
make rm not fail unnecessarily, fix naming of final tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lehnardt committed Jul 22, 2009
1 parent 41b036a commit 7d2b893
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions couchdbx-core-builder.sh
Expand Up @@ -8,7 +8,8 @@
# customise here:

# use full svn path for branches like "branches/0.9.x"
COUCHDB_VERSION="tags/0.9.0"
COUCHDB_VERSION="0.9.1"
COUCHDB_SVNPAPTH="tags/$COUCHDB_VERSION"

# or R12B-5
ERLANG_VERSION="R13B"
Expand Down Expand Up @@ -124,7 +125,7 @@ strip_erlang_dist()
find . -name "src" | xargs rm -rf
cd ../../../../../

rm js/lib/libjs.a
rm -f js/lib/libjs.a
rm -rf js/bin
rm -rf Darwin_DBG.OBJ
}
Expand All @@ -140,7 +141,7 @@ couchdb_download()
if [ ! -e .couchdb-downloaded ]; then
cd src
if [ ! -d couchdb ]; then
svn export http://svn.apache.org/repos/asf/couchdb/$COUCHDB_VERSION couchdb
svn export http://svn.apache.org/repos/asf/couchdb/$COUCHDB_SVNPAPTH couchdb
fi
cd ..
touch .couchdb-downloaded
Expand Down Expand Up @@ -268,7 +269,7 @@ package()
rm -rf couchdbx-core
mkdir couchdbx-core
cp -r dist/* couchdbx-core
tar czf couchdbx-core-0.9.0-R12B-5.tar.gz couchdbx-core
tar czf couchdbx-core-$COCUHDB_VERSION-$ERLANG_VERSION.tar.gz couchdbx-core
}

# main:
Expand Down

0 comments on commit 7d2b893

Please sign in to comment.