Skip to content

Commit

Permalink
bin,test: Use /usr/bin/env to locate script interpreters
Browse files Browse the repository at this point in the history
Make use of the /usr/bin/env tool to locate script interpreters. This is
needed to locate the correct interpreter in non-standard environments.

Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Suggested-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Suggested-by: Mario Costa
  • Loading branch information
oberpar committed Feb 28, 2019
1 parent 2ff99ae commit 0b378cb
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion bin/copy_dates.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Usage: copy_dates.sh SOURCE TARGET
#
Expand Down
2 changes: 1 addition & 1 deletion bin/gendesc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (c) International Business Machines Corp., 2002
#
Expand Down
2 changes: 1 addition & 1 deletion bin/genhtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (c) International Business Machines Corp., 2002,2012
#
Expand Down
2 changes: 1 addition & 1 deletion bin/geninfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (c) International Business Machines Corp., 2002,2012
#
Expand Down
2 changes: 1 addition & 1 deletion bin/genpng
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (c) International Business Machines Corp., 2002
#
Expand Down
2 changes: 1 addition & 1 deletion bin/get_changes.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Usage: get_changes.sh
#
Expand Down
2 changes: 1 addition & 1 deletion bin/get_version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Usage: get_version.sh --version|--release|--full
#
Expand Down
2 changes: 1 addition & 1 deletion bin/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# install.sh [--uninstall] sourcefile targetfile [install options]
#
Expand Down
2 changes: 1 addition & 1 deletion bin/lcov
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (c) International Business Machines Corp., 2002,2012
#
Expand Down
2 changes: 1 addition & 1 deletion bin/updateversion.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion test/bin/mkinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/bin/norminfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/bin/test_run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/bin/test_skip
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/bin/testsuite_exit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/bin/testsuite_init
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/genhtml_output/genhtml_test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/lcov_add_files/add_test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/lcov_diff/diff_test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2017
#
Expand Down
2 changes: 1 addition & 1 deletion test/lcov_summary/check_counts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright IBM Corp. 2017
#
Expand Down

0 comments on commit 0b378cb

Please sign in to comment.