From 5d6be4a5424b7b4b860a955efe453b306817fe0d Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Sun, 15 Jun 2008 17:00:58 +0000 Subject: more portability changes for OpenSolaris git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@667972 13f79535-47bb-0310-9956-ffa450edef68 --- bin/couchjs.tpl.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/couchjs.tpl.in') diff --git a/bin/couchjs.tpl.in b/bin/couchjs.tpl.in index 0bc84f2f..af5399a2 100644 --- a/bin/couchjs.tpl.in +++ b/bin/couchjs.tpl.in @@ -19,7 +19,7 @@ SCRIPT_ERROR=1 DEFAULT_VERSION=170 -basename=$(basename $0) +basename=`basename $0` display_version () { # Display version and copyright information. @@ -79,7 +79,7 @@ run_couchjs () { parse_script_option_list () { # Parse the script option list and take the appropriate action. - if ! argument_list=$(getopt hV $@); then + if test ! argument_list=`getopt hV $@`; then display_error fi eval set -- "$argument_list" @@ -91,7 +91,7 @@ parse_script_option_list () { *) break;; esac done - option_list=$(echo $@ | sed 's/--//') + option_list=`echo $@ | sed 's/--//'` if test -z "$option_list"; then display_error "You must specify a FILE." fi -- cgit v1.2.3