From 338f268cfd32560edb2a0dc82085e833c5b4b548 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 20 Jun 2014 09:45:54 -0400 Subject: Fix some hard-coded shebangs --- common.mk | 2 +- src/pkgbuild-summarize-nonfree | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 58366d7..f8421d4 100644 --- a/common.mk +++ b/common.mk @@ -8,7 +8,7 @@ pkglibexecdir ?= $(libexecdir)/libretools # Usage: OUTPUT # Expand m4_include macros to use librelib # This is used when using sources grabbed from devtools -edit = sed -e 's|m4_include(lib/\(.*\))|. $$(librelib \1)|' +edit = sed -e 's|^\#!\s*/bin/bash|\#!/usr/bin/env bash|' -e 's|m4_include(lib/\(.*\))|. $$(librelib \1)|' # Usage: $(call indent,FILENAME) # Command to auto-indent a file. diff --git a/src/pkgbuild-summarize-nonfree b/src/pkgbuild-summarize-nonfree index cf3be28..9b3d8e6 100755 --- a/src/pkgbuild-summarize-nonfree +++ b/src/pkgbuild-summarize-nonfree @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2013 Luke Shumaker # # License: GNU GPLv3+ -- cgit v1.1-4-g5e80