DESTDIR is already trimmed to the correct directory

From-SVN: r26823
This commit is contained in:
Rainer Orth 1999-05-07 11:22:05 +00:00 committed by Bruce Korb
parent 7d032a4f63
commit e42dc60496
2 changed files with 10 additions and 1 deletions

View File

@ -11,11 +11,20 @@ Fri May 7 09:54:11 1999 Nick Clifton <nickc@cygnus.com>
(TARGET_SWITCHES): Add `no-poke-function-name'.
Fri May 7 14:19:31 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* fixinc/server.c (load_data): Cast text_size to long, adapt
format.
* fixinc/server.c (read_pipe_timeout): Declare volatile, modified
in signal handler.
(sig_handler): Add debug code.
* fixinc/server.c (run_shell): Don't \-escape cd, it breaks the
Ultrix V4.3 /bin/sh.
* fixinc/server.c (def_args): Use static instead of STATIC to
avoid redefinition error from linker iff DEBUG.
* fixinc/hackshell.tpl: Don't strip trailing directory from
DESTDIR - that is already done
* fixinc/fixincl.c (run_compiles): fix memory leak
Thu May 6 20:34:00 1999 Mark Mitchell <mark@codesourcery.com>

View File

@ -174,7 +174,7 @@ _FOR fix "\n\n" =]
# Find any include directives that use "file".
#
dir=`echo ${file} | sed -e s';/[^/]*$;;'`
ddir=`echo ${DESTDIR} | sed 's;/[^/]*$;;'`/$dir
ddir=`ec${DESTDIR}/$dir
for include in `
egrep '^[ ]*#[ ]*include[ ]*"[^/]' ${DESTFILE} |