From: Bradley Sepos <bradley@bradleysepos.com>
Date: Sat, 2 Dec 2017 20:49:23 +0000 (-0500)
Subject: build: Make hashbangs more compatible.
X-Git-Tag: 1.1.0~270
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11c4d909c74a1d446d2f62cc0035bff79d11bf63;p=handbrake

build: Make hashbangs more compatible.
---

diff --git a/configure b/configure
index 09c80b7fe..15e8f1359 100755
--- a/configure
+++ b/configure
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 
 inpath()
diff --git a/make/python_launcher b/make/python_launcher
index c2d9d8da0..30fcf141e 100755
--- a/make/python_launcher
+++ b/make/python_launcher
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 
 inpath()
diff --git a/scripts/create_resources.py b/scripts/create_resources.py
index c0096e28f..54d1310b6 100755
--- a/scripts/create_resources.py
+++ b/scripts/create_resources.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
 #
 
 import types
diff --git a/scripts/manicure.rb b/scripts/manicure.rb
index 6764a3e1f..9241e1e21 100755
--- a/scripts/manicure.rb
+++ b/scripts/manicure.rb
@@ -1,4 +1,4 @@
-#! /usr/bin/ruby
+#!/usr/bin/env ruby
 # manincure.rb version 0.66
 
 # This file is part of the HandBrake source code.
diff --git a/scripts/quotestring.py b/scripts/quotestring.py
index e3712f140..cbe34fc59 100755
--- a/scripts/quotestring.py
+++ b/scripts/quotestring.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
 
 import re
 import argparse
diff --git a/scripts/repo-info.sh b/scripts/repo-info.sh
index 4e8795344..91c824719 100755
--- a/scripts/repo-info.sh
+++ b/scripts/repo-info.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
 #
 # Retrieves git repository info for directory ${1} using command ${2}
 
diff --git a/scripts/tag-release.sh b/scripts/tag-release.sh
index 10b938bf7..d06d86c26 100755
--- a/scripts/tag-release.sh
+++ b/scripts/tag-release.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
 #
 # Usage: tag-release.sh <release-ver> [<ref>]
 #