docs-common/bin db2rpm-info,1.4,1.5
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Sun Jan 29 15:38:54 UTC 2006
- Previous message (by thread): docs-common/bin db2rpm-info,1.3,1.4
- Next message (by thread): install-guide fedora-install-guide-adminoptions-en.xml, 1.8, 1.9 fedora-install-guide-bootloader-en.xml, 1.13, 1.14 fedora-install-guide-en.xml, 1.40, 1.41 fedora-install-guide-firstboot-en.xml, 1.18, 1.19 fedora-install-guide-packageselection-en.xml, 1.17, 1.18 fedora-install-guide-techref-en.xml, 1.5, 1.6 rpm-info.xml, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jtr
Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30650/bin
Modified Files:
db2rpm-info
Log Message:
Allow *any* modern shell.
Index: db2rpm-info
===================================================================
RCS file: /cvs/docs/docs-common/bin/db2rpm-info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- db2rpm-info 28 Jan 2006 20:41:45 -0000 1.4
+++ db2rpm-info 29 Jan 2006 15:38:45 -0000 1.5
@@ -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 @@
*) echo "${USAGE}" >&2; exit 1;;
esac
done
-shift $(expr ${OPTIND} - 1)
+shift `expr ${OPTIND} - 1`
if [ $# -ne 1 ]; then
echo "${USAGE}" >&2
exit 1
- Previous message (by thread): docs-common/bin db2rpm-info,1.3,1.4
- Next message (by thread): install-guide fedora-install-guide-adminoptions-en.xml, 1.8, 1.9 fedora-install-guide-bootloader-en.xml, 1.13, 1.14 fedora-install-guide-en.xml, 1.40, 1.41 fedora-install-guide-firstboot-en.xml, 1.18, 1.19 fedora-install-guide-packageselection-en.xml, 1.17, 1.18 fedora-install-guide-techref-en.xml, 1.5, 1.6 rpm-info.xml, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-docs-commits
mailing list