summaryrefslogtreecommitdiffstats
path: root/bin/db2rpm-info
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db2rpm-info')
-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