From: Morten Eriksen Date: Wed, 1 Nov 2000 00:18:34 +0000 (+0000) Subject: * ltcf-c.sh, ltcf-gcj.sh: Quote argument to avoid error X-Git-Tag: multi-language-merge-point~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a46b2957b625acf30c6e1dd3f9c6f2756068a85;p=thirdparty%2Flibtool.git * ltcf-c.sh, ltcf-gcj.sh: Quote argument to avoid error output from cygpath when $srcdir is empty. --- diff --git a/ChangeLog b/ChangeLog index ce0eb4d20..9f5abf8c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-10-31 Morten Eriksen + + * ltcf-c.sh, ltcf-gcj.sh: Quote argument to avoid error + output from cygpath when $srcdir is empty. + 2000-10-31 Akim Demaille * libtool.m4: Adjust the copyright notice. diff --git a/ltcf-c.sh b/ltcf-c.sh index 9982a8ba5..5dda45bee 100644 --- a/ltcf-c.sh +++ b/ltcf-c.sh @@ -308,7 +308,7 @@ else old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w $srcfile`' + fix_srcfile_path='`cygpath -w "$srcfile"`' ;; freebsd1*) diff --git a/ltcf-gcj.sh b/ltcf-gcj.sh index acb30c0ac..f73fb20ac 100644 --- a/ltcf-gcj.sh +++ b/ltcf-gcj.sh @@ -311,7 +311,7 @@ else old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w $srcfile`' + fix_srcfile_path='`cygpath -w "$srcfile"`' ;; freebsd1*)