summaryrefslogtreecommitdiff
path: root/test/math/gen-libm-test.pl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-09 19:26:33 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-09 19:26:33 +0100
commit90c76c06c09a83d76c3fb00768bad09fe747c3c3 (patch)
treea842ebaf85593d9c83a9e8e215e1d468072d98a1 /test/math/gen-libm-test.pl
parent1e28bdaabba3cdc26df028d70f9e15e055e75587 (diff)
do not hardcode path to perl
When cross-compiling on other Unix systems like FreeBSD 10.x, perl is not in /usr/bin. Use env to find the perl interpreter and use no fixed path when executing via make.
Diffstat (limited to 'test/math/gen-libm-test.pl')
-rwxr-xr-xtest/math/gen-libm-test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/math/gen-libm-test.pl b/test/math/gen-libm-test.pl
index 0bb2b46a0..118f352fa 100755
--- a/test/math/gen-libm-test.pl
+++ b/test/math/gen-libm-test.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
# Copyright (C) 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Andreas Jaeger <aj@suse.de>, 1999.