[banshee] Use env in the she-bang of some scripts, for FreeBSD portability



commit 1b1ddc87c19ee1235653d1cf793a42ae3f7f2d7b
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sun Oct 4 17:12:33 2009 +0200

    Use env in the she-bang of some scripts, for FreeBSD portability
    
    Inspired by patches from Romain Tartière in BGO#592587.

 autogen.sh                                |    2 +-
 build/dll-map-makefile-verifier           |    2 +-
 build/icon-theme-installer                |    2 +-
 build/private-icon-theme-installer        |    2 +-
 data/desktop-files/update-desktop-file.sh |    2 +-
 src/Clients/Booter/banshee-1.in           |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 864dd7d..abff428 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 PROJECT=banshee
 
diff --git a/build/dll-map-makefile-verifier b/build/dll-map-makefile-verifier
index 35233e0..c75afa5 100755
--- a/build/dll-map-makefile-verifier
+++ b/build/dll-map-makefile-verifier
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 if [ -f $2 ]; then
 	# Lame, but better than nothing
diff --git a/build/icon-theme-installer b/build/icon-theme-installer
index 2f78ad0..56c8571 100755
--- a/build/icon-theme-installer
+++ b/build/icon-theme-installer
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # icon-theme-installer
 # Copyright (C) 2006 Novell, Inc.
diff --git a/build/private-icon-theme-installer b/build/private-icon-theme-installer
index 5969278..00f0ffe 100755
--- a/build/private-icon-theme-installer
+++ b/build/private-icon-theme-installer
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 mkinstalldirs=$1; shift
 install_data=$1; shift
diff --git a/data/desktop-files/update-desktop-file.sh b/data/desktop-files/update-desktop-file.sh
index 219205f..6ec220a 100755
--- a/data/desktop-files/update-desktop-file.sh
+++ b/data/desktop-files/update-desktop-file.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 DESKTOP_SOURCE="$1"
 VERSION="$2"
diff --git a/src/Clients/Booter/banshee-1.in b/src/Clients/Booter/banshee-1.in
index f0ff4db..6ad1e85 100644
--- a/src/Clients/Booter/banshee-1.in
+++ b/src/Clients/Booter/banshee-1.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 prefix= prefix@
 libdir= expanded_libdir@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]