Commit e42dc604 by Rainer Orth Committed by Bruce Korb

DESTDIR is already trimmed to the correct directory

From-SVN: r26823
parent 7d032a4f
...@@ -11,11 +11,20 @@ Fri May 7 09:54:11 1999 Nick Clifton <nickc@cygnus.com> ...@@ -11,11 +11,20 @@ Fri May 7 09:54:11 1999 Nick Clifton <nickc@cygnus.com>
(TARGET_SWITCHES): Add `no-poke-function-name'. (TARGET_SWITCHES): Add `no-poke-function-name'.
Fri May 7 14:19:31 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 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 * fixinc/server.c (read_pipe_timeout): Declare volatile, modified
in signal handler. in signal handler.
(sig_handler): Add debug code. (sig_handler): Add debug code.
* fixinc/server.c (run_shell): Don't \-escape cd, it breaks the * fixinc/server.c (run_shell): Don't \-escape cd, it breaks the
Ultrix V4.3 /bin/sh. 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 * fixinc/fixincl.c (run_compiles): fix memory leak
Thu May 6 20:34:00 1999 Mark Mitchell <mark@codesourcery.com> Thu May 6 20:34:00 1999 Mark Mitchell <mark@codesourcery.com>
......
...@@ -174,7 +174,7 @@ _FOR fix "\n\n" =] ...@@ -174,7 +174,7 @@ _FOR fix "\n\n" =]
# Find any include directives that use "file". # Find any include directives that use "file".
# #
dir=`echo ${file} | sed -e s';/[^/]*$;;'` dir=`echo ${file} | sed -e s';/[^/]*$;;'`
ddir=`echo ${DESTDIR} | sed 's;/[^/]*$;;'`/$dir ddir=`ec${DESTDIR}/$dir
for include in ` for include in `
egrep '^[ ]*#[ ]*include[ ]*"[^/]' ${DESTFILE} | egrep '^[ ]*#[ ]*include[ ]*"[^/]' ${DESTFILE} |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment