diff --git a/support/download/bzr b/support/download/bzr index b545cb112..c157ca8d5 100755 --- a/support/download/bzr +++ b/support/download/bzr @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/check-hash b/support/download/check-hash index f1e0c1b68..067e7a239 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e # Helper to check a file matches its known hash diff --git a/support/download/cp b/support/download/cp index 264f5dc52..463fc382c 100755 --- a/support/download/cp +++ b/support/download/cp @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/cvs b/support/download/cvs index c92d491fd..56a11c29a 100755 --- a/support/download/cvs +++ b/support/download/cvs @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/git b/support/download/git index ff6b5c319..5d36ca4cb 100755 --- a/support/download/git +++ b/support/download/git @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/hg b/support/download/hg index 747dd3480..66bd2eda6 100755 --- a/support/download/hg +++ b/support/download/hg @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/scp b/support/download/scp index 167692917..f3e92f3f6 100755 --- a/support/download/scp +++ b/support/download/scp @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/svn b/support/download/svn index 3a9512ddd..a960f7dd3 100755 --- a/support/download/svn +++ b/support/download/svn @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/wget b/support/download/wget index 2cea1004c..6b73726bc 100755 --- a/support/download/wget +++ b/support/download/wget @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # We want to catch any unexpected failure, and exit immediately set -e diff --git a/support/download/wrapper b/support/download/wrapper index 8ae2797d6..320a37ed7 100755 --- a/support/download/wrapper +++ b/support/download/wrapper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script is a wrapper to the other download helpers. # Its role is to ensure atomicity when saving downloaded files diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index b32d592cf..af6df9ec7 100755 --- a/support/scripts/apply-patches.sh +++ b/support/scripts/apply-patches.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash # A little script I whipped up to make it easy to # patch source trees and have sane error handling # -Erik diff --git a/support/scripts/expunge-gconv-modules b/support/scripts/expunge-gconv-modules index a77b063ca..03012c1ce 100755 --- a/support/scripts/expunge-gconv-modules +++ b/support/scripts/expunge-gconv-modules @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script is used to generate a gconv-modules file that takes into # account only the gconv modules installed by Buildroot. It receives diff --git a/support/scripts/mkusers b/support/scripts/mkusers index 5e5a5d958..b003330ef 100755 --- a/support/scripts/mkusers +++ b/support/scripts/mkusers @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e myname="${0##*/}" diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index f6d10bb59..48a5536ec 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2009 by Thomas Petazzoni #