From 69d1e430eafbabe3ba148538c28f2bf771370ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Wed, 22 Nov 2023 22:17:57 +0200 Subject: Mangle script shebangs --- NEWS | 2 ++ autogen.sh | 2 +- brp-mangle-shebangs | 2 +- find-provides.in | 2 +- find-requires.in | 2 +- fix-libtool-from-moving-options-after-libs | 2 +- force-as-needed-for-shared-lib-in-libtool | 2 +- tests.sh | 2 +- tests/macros.sh | 2 +- 9 files changed, 10 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 36a0b3a..bd5602e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- mangle script shebangs + Version 2.73 - 22 November 2023, by Jani Välimaa - macros: include RUSTFLAGS in %set_build_flags - macros: set -g when building Vala applications diff --git a/autogen.sh b/autogen.sh index 2120288..05af284 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh aclocal libtoolize --force --copy automake -a -c diff --git a/brp-mangle-shebangs b/brp-mangle-shebangs index ab7af60..5343519 100755 --- a/brp-mangle-shebangs +++ b/brp-mangle-shebangs @@ -1,4 +1,4 @@ -#!/bin/bash -eu +#!/usr/bin/bash -eu # If using normal root, avoid changing anything. if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then diff --git a/find-provides.in b/find-provides.in index 598e099..4feab0a 100755 --- a/find-provides.in +++ b/find-provides.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # This script reads filenames from STDIN and outputs any relevant provides # information that needs to be included in the package. diff --git a/find-requires.in b/find-requires.in index b15c42c..2cdbe13 100755 --- a/find-requires.in +++ b/find-requires.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # # Auto-generate requirements for ELF executables and library diff --git a/fix-libtool-from-moving-options-after-libs b/fix-libtool-from-moving-options-after-libs index e8db899..134a2e3 100755 --- a/fix-libtool-from-moving-options-after-libs +++ b/fix-libtool-from-moving-options-after-libs @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh CONFIGURE_TOP="${1:-.}" if [ -e $CONFIGURE_TOP/configure ] && grep -q -F '$deplibs $compiler_flags' $CONFIGURE_TOP/configure; then diff --git a/force-as-needed-for-shared-lib-in-libtool b/force-as-needed-for-shared-lib-in-libtool index 2694273..27b691c 100755 --- a/force-as-needed-for-shared-lib-in-libtool +++ b/force-as-needed-for-shared-lib-in-libtool @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh # replaces # tmp_sharedflag='-shared' ;; diff --git a/tests.sh b/tests.sh index 2ffdd96..72b490e 100755 --- a/tests.sh +++ b/tests.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh allerrs=0 diff --git a/tests/macros.sh b/tests/macros.sh index 972ceca..44f0df9 100755 --- a/tests/macros.sh +++ b/tests/macros.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh RPMEVAL=./rpmeval -- cgit v1.2.1