From 8a46b2957b625acf30c6e1dd3f9c6f2756068a85 Mon Sep 17 00:00:00 2001 From: Morten Eriksen Date: Wed, 1 Nov 2000 00:18:34 +0000 Subject: [PATCH] * ltcf-c.sh, ltcf-gcj.sh: Quote argument to avoid error output from cygpath when $srcdir is empty. --- ChangeLog | 5 +++++ ltcf-c.sh | 2 +- ltcf-gcj.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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*) -- 2.47.3