changeset 177:98eaf0075a44

make setup.sh work with non-local coucdhb URLs
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 10 Sep 2011 03:09:17 +0200
parents 7001070d0bd5
children e8cc86981938
files backend/couchdb/CouchApp/feedworm/setup.sh
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/backend/couchdb/CouchApp/feedworm/setup.sh	Fri Sep 09 18:19:01 2011 +0200
+++ b/backend/couchdb/CouchApp/feedworm/setup.sh	Sat Sep 10 03:09:17 2011 +0200
@@ -1,6 +1,5 @@
 #!/bin/bash
 
-
 BASE_URL=${1:-http://localhost:5984}
 DB_URL=${BASE_URL}/feedworm
 
@@ -11,4 +10,4 @@
     curl -X PUT ${DB_URL}
 fi
 
-couchapp push local
+couchapp push ${DB_URL}
\ No newline at end of file