Fix sed invocation, from Keith Parks

This commit is contained in:
Peter Eisentraut 2000-07-09 13:16:12 +00:00
parent 74618e2b82
commit a746653493
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.15 2000/07/06 21:33:22 petere Exp $ # $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.16 2000/07/09 13:16:12 petere Exp $
# #
# NOTES # NOTES
# non-essential whitespace is removed from the generated file. # non-essential whitespace is removed from the generated file.
@ -45,13 +45,13 @@ do
INCLUDE_DIR="$2" INCLUDE_DIR="$2"
shift;; shift;;
-I*) -I*)
INCLUDE_DIR=`echo $1 | sed s/^-I//` INCLUDE_DIR=`echo $1 | sed -e 's/^-I//'`
;; ;;
-o) -o)
OUTPUT_PREFIX="$2" OUTPUT_PREFIX="$2"
shift;; shift;;
-o*) -o*)
OUTPUT_PREFIX=`echo $1 | sed s/^-o//` OUTPUT_PREFIX=`echo $1 | sed -e 's/^-o//'`
;; ;;
--help) --help)
echo "$CMDNAME generates system catalog bootstrapping files." echo "$CMDNAME generates system catalog bootstrapping files."