summaryrefslogtreecommitdiff
path: root/osinfo/check-symfile.pl
diff options
context:
space:
mode:
authorRoman Bogorodskiy <bogorodskiy@gmail.com>2017-02-16 18:40:58 +0400
committerDaniel P. Berrange <berrange@redhat.com>2017-02-23 17:07:57 +0000
commit241be1c91b0f93ad46d15b3f5d4396027b30d9a0 (patch)
treed0e09cde35d1af4b5334406cbf3f5c6348e3457e /osinfo/check-symfile.pl
parenta1acfe107c0860e36ac23a57e0fc3e66829a09c4 (diff)
downloadlibosinfo-241be1c91b0f93ad46d15b3f5d4396027b30d9a0.tar.gz
Improve Perl-related routines
* Add a check for the 'perl' program to configure.ac as $(PERL) is used in various places * Do not hardcode '/usr/bin/perl' in perl scripts because on FreeBSD and maybe some other systems it's installed in a different prefix, so use '/usr/bin/env perl' instead.
Diffstat (limited to 'osinfo/check-symfile.pl')
-rwxr-xr-xosinfo/check-symfile.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/osinfo/check-symfile.pl b/osinfo/check-symfile.pl
index d59a213..4f88300 100755
--- a/osinfo/check-symfile.pl
+++ b/osinfo/check-symfile.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# Copyright (C) 2012-2013 Red Hat, Inc.
#