]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add "shopt -s nullglob" to check-local-headers.sh
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Sep 2012 21:41:14 +0000 (14:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Sep 2012 21:41:14 +0000 (14:41 -0700)
ChangeLog
scripts/check-local-headers.sh

index 77ae95cff6bf2e79c7acc53c3c7dfe2c94d2d832..30a0727c2cdd7fc54df913e4e1be6883fe542e69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * scripts/check-local-headers.sh: Add "shopt -s nullglob".
+
        * iconv/gconv_db.c (free_derivation): Check if deriv->steps
        is NULL.
 
index 08ed880c5dc6007244d34ea96dfd87df0d4a30d2..cacb842def6f17bf0da41b8888a9885ffe892822 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# Copyright (C) 2005,2007,2009,2011 Free Software Foundation, Inc.
+# Copyright (C) 2005-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -22,6 +22,9 @@ objpfx="$2"
 # To avoid long paths.
 cd "$objpfx"
 
+# OK if *.os is missing.
+shopt -s nullglob
+
 # Search all dependency files for file names in the include directory.
 # There are a few system headers we are known to use.
 exec ${AWK} -v includedir="$includedir" '