bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ltmain.sh install does not support spaces in destdir


From: Sam Steingold
Subject: ltmain.sh install does not support spaces in destdir
Date: Mon, 03 Dec 2007 12:08:47 -0500
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

VERSION=1.5.22
TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"

ltmain.sh install does not support spaces in destdir, because it does
not quote destdir. this can be a serious problem for woe32 users.

please consider the appended patch which fixed the problem for me:

2007-12-03  Sam Steingold  <address@hidden>

        * ltmain.sh: quote $destdir in install to support spaces in it


- --- ltmain.sh.~1.2.~  2007-11-02 12:35:57.000000000 -0400
+++ ltmain.sh   2007-12-03 12:06:57.000107000 -0500
@@ -5994,11 +5994,11 @@ relink_command=\"$relink_command\""
          test -n "$relink_command" && srcname="$realname"T

          # Install the shared library and build the symlinks.
- -       $show "$install_prog $dir/$srcname $destdir/$realname"
- -       $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
+         $show "$install_prog $dir/$srcname '$destdir/$realname'"
+         $run eval "$install_prog $dir/$srcname '$destdir/$realname'" || exit 
$?
          if test -n "$stripme" && test -n "$striplib"; then
- -         $show "$striplib $destdir/$realname"
- -         $run eval "$striplib $destdir/$realname" || exit $?
+           $show "$striplib '$destdir/$realname'"
+           $run eval "$striplib '$destdir/$realname'" || exit $?
          fi

          if test "$#" -gt 0; then

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVDgfPp1Qsf2qnMcRAm7OAJ0S+Vzi/gD2LlppHqPfQm5D2pf5PgCggNYr
2K8WWz+UlaWh7VUmnr0FDAc=
=dOAV
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]