From 5b22d18bc48d248d033266709b7e261c3d7957d3 Mon Sep 17 00:00:00 2001 From: Tommy Reynolds Date: Sun, 29 Jan 2006 15:38:45 +0000 Subject: Allow *any* modern shell. --- bin/db2rpm-info | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/db2rpm-info') diff --git a/bin/db2rpm-info b/bin/db2rpm-info index efe0fd2..8fbb55b 100755 --- a/bin/db2rpm-info +++ b/bin/db2rpm-info @@ -1,6 +1,6 @@ -#!/bin/bash -ME=$(basename $0) -BINDIR=$(dirname $0) +#!/bin/sh +ME=`basename $0` +BINDIR=`dirname $0` USAGE="usage: ${ME} [-o ofile] document.xml" ofile= while getopts o: c @@ -10,7 +10,7 @@ do *) echo "${USAGE}" >&2; exit 1;; esac done -shift $(expr ${OPTIND} - 1) +shift `expr ${OPTIND} - 1` if [ $# -ne 1 ]; then echo "${USAGE}" >&2 exit 1 -- cgit