summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-01-29 15:38:45 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-01-29 15:38:45 +0000
commit5b22d18bc48d248d033266709b7e261c3d7957d3 (patch)
tree461798f3666377d33e2e908b5571ff188607e73b /bin
parentbff4f331704049823dabbfce7c5523c03ec3c6ac (diff)
downloadfedora-doc-utils-5b22d18bc48d248d033266709b7e261c3d7957d3.tar.gz
fedora-doc-utils-5b22d18bc48d248d033266709b7e261c3d7957d3.tar.xz
fedora-doc-utils-5b22d18bc48d248d033266709b7e261c3d7957d3.zip
Allow *any* modern shell.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db2rpm-info8
1 files changed, 4 insertions, 4 deletions
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