summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-06-16 11:37:00 +0000
committerNoah Slater <nslater@apache.org>2008-06-16 11:37:00 +0000
commit0e7a43f5d6393c7baa8fa3d11a2a18af989461a4 (patch)
tree831889de20e38d8c35650d535ed8e57652ccbf7b /bin
parent39137487b3140d11d9953ebdb2ed25cc50b28f97 (diff)
general shell script improvements
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668118 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin')
-rw-r--r--bin/couchdb.tpl.in2
-rw-r--r--bin/couchjs.tpl.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index b6df1abb..c55499c0 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -287,7 +287,7 @@ parse_script_option_list () {
display_error
fi
set -e
- eval set -- "$options"
+ eval set -- $options
while [ $# -gt 0 ]; do
case "$1" in
-h) shift; display_help; exit $SCRIPT_OK;;
diff --git a/bin/couchjs.tpl.in b/bin/couchjs.tpl.in
index ce9aecbe..3e47d6b6 100644
--- a/bin/couchjs.tpl.in
+++ b/bin/couchjs.tpl.in
@@ -75,7 +75,7 @@ parse_script_option_list () {
display_error
fi
set -e
- eval set -- "$options"
+ eval set -- $options
while [ $# -gt 0 ]; do
case "$1" in
-h) shift; display_help; exit $SCRIPT_OK;;