mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
scripts/update-abilist.sh: Accept empty list of files to patch
Commit b289cd9db8
(“Ignore absolute
symbols in ABI tests.”) broke “make update-all-abi” because an empty
list of files is now passed to scripts/update-abilist.sh.
This commit is contained in:
parent
06d1a8263d
commit
c59ee916a6
@ -1,3 +1,7 @@
|
||||
2018-06-14 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* scripts/update-abilist.sh: Accept empty list of files to patch.
|
||||
|
||||
2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
|
||||
|
@ -20,9 +20,12 @@
|
||||
set -e
|
||||
export LC_ALL=C
|
||||
|
||||
if [ $# -lt 3 ]; then
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "usage: $0 OLD-FILE NEW-FILE FILES-TO-BE-PATCHED..." 1>&2
|
||||
exit 2
|
||||
elif [ $# -eq 2 ]; then
|
||||
echo "info: no files to patch" 1>&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
old_file="$1"
|
||||
|
Loading…
Reference in New Issue
Block a user