build: Additional hashbang compatibility for BSD-like systems.

Fixes #1040.
This commit is contained in:
Bradley Sepos 2017-12-03 04:38:48 -05:00
parent 4cc1e86930
commit 8e2a082677
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7
8 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import collections import collections
import sys import sys

3
make/config.guess vendored
View File

@ -1,4 +1,5 @@
#! /bin/sh #!/bin/sh
# ^ REMOVE SPACE WHEN UPDATING (for BSD)
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2017 Free Software Foundation, Inc. # Copyright 1992-2017 Free Software Foundation, Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
set -e set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# usage: build-presets # usage: build-presets
SELF="${BASH_SOURCE[0]}" SELF="${BASH_SOURCE[0]}"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# mac only # mac only
if [[ "$(uname)" != "Darwin" ]]; then if [[ "$(uname)" != "Darwin" ]]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# Retrieves git repository info for directory ${1} using command ${2} # Retrieves git repository info for directory ${1} using command ${2}

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# Usage: tag-release.sh <release-ver> [<ref>] # Usage: tag-release.sh <release-ver> [<ref>]
# #

View File

@ -1,4 +1,4 @@
#!/bin/tcsh #!/usr/bin/env tcsh
# #
# generate aspect ratio & cropping regression test data # generate aspect ratio & cropping regression test data
# from a set of HandBrake input files # from a set of HandBrake input files