about summary refs log tree commit diff
path: root/nptl/tst-cancel-wrappers.sh
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2012-10-21 22:38:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-21 22:38:34 +0000
commitaba759841b71e7c84218111713303180a389062e (patch)
tree2fe2d0800e8f7ed54353b69bc9c8e0c89d8888ea /nptl/tst-cancel-wrappers.sh
parent88d4247f1950ddcc23130b2881183b6b4cc3f9a3 (diff)
downloadglibc-aba759841b71e7c84218111713303180a389062e.tar.gz
glibc-aba759841b71e7c84218111713303180a389062e.tar.xz
glibc-aba759841b71e7c84218111713303180a389062e.zip
Use $(NM) not nm in tst-cancel-wrappers.
Diffstat (limited to 'nptl/tst-cancel-wrappers.sh')
-rw-r--r--nptl/tst-cancel-wrappers.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/tst-cancel-wrappers.sh b/nptl/tst-cancel-wrappers.sh
index dad2a674e1..b16ab2fe9e 100644
--- a/nptl/tst-cancel-wrappers.sh
+++ b/nptl/tst-cancel-wrappers.sh
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test whether all cancelable functions are cancelable.
-# Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Jakub Jelinek <jakub@redhat.com>, 2002.
 
@@ -18,8 +18,9 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+NM="$1"; shift
 while [ $# -gt 0 ]; do
-  ( nm -P $1; echo 'end[end]:' ) | gawk ' BEGIN {
+  ( $NM -P $1; echo 'end[end]:' ) | gawk ' BEGIN {
 C["accept"]=1
 C["close"]=1
 C["connect"]=1