fix the sed expression that pulls VPATH out of the makefile to work
with any number of tabs or spaces after the equal sign.
This commit is contained in:
parent
83f6b834e6
commit
d99893c4fd
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# $NetBSD: mknative-binutils,v 1.3 2003/12/04 14:38:00 mrg Exp $
|
||||
# $NetBSD: mknative-binutils,v 1.4 2004/12/10 13:57:08 mrg Exp $
|
||||
#
|
||||
# Shell script for generating all the constants needed for a native
|
||||
# platform build of src/gnu/dist/binutils.
|
||||
|
@ -10,7 +10,7 @@
|
|||
_TMPDIR=$2
|
||||
_TOP=$3
|
||||
_PLATFORM=$4
|
||||
_VPATH=`grep VPATH ${_TMPDIR}/Makefile | sed 's,^.*= ,,'`
|
||||
_VPATH=`grep VPATH ${_TMPDIR}/Makefile | sed 's,^.*=[ ]*,,'`
|
||||
|
||||
. $_TOP/tools/gcc/mknative.common
|
||||
|
||||
|
|
Loading…
Reference in New Issue