From 5a5cae5200a183478407944b04ef9faee92ce40f Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Fri, 1 Oct 2004 12:43:20 +0000 Subject: [PATCH] * config/ltmain.in (func_mode_install): Need to set $tmpdir before using it. --- ChangeLog | 3 +++ config/ltmain.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 72b09c3cb..265b8a584 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-10-01 Ralf Wildenhues + * config/ltmain.in (func_mode_install): Need to set $tmpdir before + using it. + * config/ltmain.in (func_mode_link): Fix quoting bug. Fixes e.g. the quoting of the -export-symbols-regex argument in .la files' relink_command. diff --git a/config/ltmain.in b/config/ltmain.in index 7ded8e4ca..e6f2d8ea4 100644 --- a/config/ltmain.in +++ b/config/ltmain.in @@ -1988,7 +1988,7 @@ func_mode_install () outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then - func_mktempdir "${TMPDIR-/tmp}/libtool-XXXXXXXX" + tmpdir=`func_mktempdir "${TMPDIR-/tmp}/libtool-XXXXXXXX"` file=`$ECHO "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. -- 2.47.2