libtool-patches
[Top][All Lists]
Advanced

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

cygwin: handle installation paths with spaces


From: Charles Wilson
Subject: cygwin: handle installation paths with spaces
Date: Wed, 22 Sep 2004 02:42:26 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b

Should be self-explanatory...

--
Chuck

2004-09-21  Charles Wilson  <address@hidden>

        * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER([TAG])):
        better quoting for postinstall_cmds and 
        postuninstall_cmds.
Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.106
diff -u -r1.106 libtool.m4
--- m4/libtool.m4       17 Sep 2004 13:54:05 -0000      1.106
+++ m4/libtool.m4       22 Sep 2004 05:23:37 -0000
@@ -1714,11 +1714,11 @@
     library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo 
\$dlname'\''`~
+      dlpath=`$SHELL 2>&1 -c '\'\\\'\''. 
$dir/'\'\\\'\''\${base_file}'\'\\\'\''i;echo \$dlname'\'\\\'\''`~
       dldir=$destdir/`dirname \$dlpath`~
       test -d \$dldir || mkdir -p \$dldir~
       $install_prog $dir/$dlname \$dldir/$dlname'
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\'\\\'\''. $file; echo 
\$dlname'\'\\\'\''`~
       dlpath=$dir/\$dldll~
        $rm \$dlpath'
     shlibpath_overrides_runpath=yes

reply via email to

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