[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/11] bootstrap: double quote an expression with a wildcard
From: |
KO Myung-Hun |
Subject: |
[PATCH 11/11] bootstrap: double quote an expression with a wildcard |
Date: |
Tue, 4 Nov 2014 15:12:46 +0900 |
This prevents from expansion of a wildcard, and find from failing
with the following error.
find: paths must precede expression
* bootstrap (require_buildreq_patch): Double quote *.diff
* gl/build-aux/bootstrap.in (require_buildreq_patch): Likewise.
---
bootstrap | 2 +-
gl/build-aux/bootstrap.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bootstrap b/bootstrap
index 0d9b152..ecd9c66 100755
--- a/bootstrap
+++ b/bootstrap
@@ -3546,7 +3546,7 @@ func_require_buildreq_patch ()
# The ugly find invocation is necessary to exit with non-zero
# status for old find binaries that don't support -exec fully.
if test ! -d "$local_gl_dir" \
- || find "$local_gl_dir" -name *.diff -exec false {} \; ; then :
+ || find "$local_gl_dir" -name "*.diff" -exec false {} \; ; then :
else
func_append buildreq 'patch - http://www.gnu.org/s/patch
'
diff --git a/gl/build-aux/bootstrap.in b/gl/build-aux/bootstrap.in
index bf3ba9b..4be27c1 100755
--- a/gl/build-aux/bootstrap.in
+++ b/gl/build-aux/bootstrap.in
@@ -1215,7 +1215,7 @@ func_require_buildreq_patch ()
# The ugly find invocation is necessary to exit with non-zero
# status for old find binaries that don't support -exec fully.
if test ! -d "$local_gl_dir" \
- || find "$local_gl_dir" -name *.diff -exec false {} \; ; then :
+ || find "$local_gl_dir" -name "*.diff" -exec false {} \; ; then :
else
func_append buildreq 'patch - http://www.gnu.org/s/patch
'
--
1.7.3.2
- [PATCH] OS/2 patches, KO Myung-Hun, 2014/11/04
- [PATCH 01/11] libtool: don't eliminate duplications in $postdeps and $predeps on OS/2, KO Myung-Hun, 2014/11/04
- [PATCH 03/11] ltdl: OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows, KO Myung-Hun, 2014/11/04
- [PATCH 02/11] libtool: support to link against static libraries on OS/2, KO Myung-Hun, 2014/11/04
- [PATCH 04/11] libtool: there is no need to relink DLLs on OS/2, KO Myung-Hun, 2014/11/04
- [PATCH 05/11] libtool: set lt_cv_deplibs_check_method to pass_all on OS/2, KO Myung-Hun, 2014/11/04
- [PATCH 06/11] libtool: support -Zxxx options used on OS/2, KO Myung-Hun, 2014/11/04
- [PATCH 07/11] libtool: fix DLL creation/installation/uninstallation on OS/2, KO Myung-Hun, 2014/11/04
- [PATCH 08/11] libtool: add -os2dllname option, KO Myung-Hun, 2014/11/04
- [PATCH 11/11] bootstrap: double quote an expression with a wildcard,
KO Myung-Hun <=
- [PATCH 10/11] libtool: support versioning on OS/2, KO Myung-Hun, 2014/11/04
- [PATCH 09/11] libtool: support -export-symbols and -export-symbols-regex on OS/2, KO Myung-Hun, 2014/11/04
- Re: [PATCH] OS/2 patches, Gary V. Vaughan, 2014/11/04