so it is run is a subshell. This avoids an install error
where libtool ended up in the wrong directory after
relinking a .la file.
+2001-11-15 Mo DeJong <supermo@bayarea.net>
+
+ * ltmain.in: Place parens around a generated relink_command
+ so it is run is a subshell. This avoids an install error
+ where libtool ended up in the wrong directory after
+ relinking a .la file.
+
2001-10-31 Raja R Harinath <harinath@cs.umn.edu>
* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
relink_command="$var=\"$var_value\"; export $var; $relink_command"
fi
done
- relink_command="cd `pwd`; $relink_command"
+ relink_command="(cd `pwd`; $relink_command)"
relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
fi
fi
done
# Quote the link command for shipping.
- relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
+ relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args)"
relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
# Only create the output if not a dry run.