1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
|
Description: Replace /usr/bin/bash with /bin/bash in shebangs
bash is located in /usr/bin on Arch Linux, which is the distribution
that this program was intended for. On Debian, it's located in /bin,
so the shebangs must be changed to make the scripts executable.
Author: Ben Westover <me@benthetechguy.net>
Forwarded: not-needed
Last-Update: 2022-09-16
--- a/scripts/libmakepkg/buildenv/buildflags.sh.in
+++ b/scripts/libmakepkg/buildenv/buildflags.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# buildflags.sh - Clear user-specified buildflags if requested
#
--- a/scripts/libmakepkg/buildenv/compiler.sh.in
+++ b/scripts/libmakepkg/buildenv/compiler.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# compiler.sh - CCache and DistCC compilation
# ccache - Cache compilations and reuse them to save time on repetitions
--- a/scripts/libmakepkg/buildenv/debugflags.sh.in
+++ b/scripts/libmakepkg/buildenv/debugflags.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# debugflags.sh - Specify flags for building a package with debugging
# symbols
--- a/scripts/libmakepkg/buildenv/fortran.sh.in
+++ b/scripts/libmakepkg/buildenv/fortran.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# fortran.sh - Specify flags for building a package with Fortran
#
--- a/scripts/libmakepkg/buildenv/lto.sh.in
+++ b/scripts/libmakepkg/buildenv/lto.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# lto.sh - Specify flags for building a package with link-time
# optimisation
--- a/scripts/libmakepkg/buildenv/makeflags.sh.in
+++ b/scripts/libmakepkg/buildenv/makeflags.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# makeflags.sh - Clear user-specified makeflags if requested
#
--- a/scripts/libmakepkg/buildenv/rust.sh.in
+++ b/scripts/libmakepkg/buildenv/rust.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# rust.sh - Specify flags for building a package with rust
#
@@ -34,4 +34,4 @@
append_once DEBUG_RUSTFLAGS "--remap-path-prefix=$srcdir=${DBGSRCDIR:-/usr/src/debug}/${pkgbase}"
append_once RUSTFLAGS "$DEBUG_RUSTFLAGS"
fi
-}
\ No newline at end of file
+}
--- a/scripts/libmakepkg/executable/ccache.sh.in
+++ b/scripts/libmakepkg/executable/ccache.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# ccache.sh - Confirm presence of ccache binary
#
--- a/scripts/libmakepkg/executable/checksum.sh.in
+++ b/scripts/libmakepkg/executable/checksum.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# checksum.sh - Confirm presence of binaries for checksum operations
#
--- a/scripts/libmakepkg/executable/debugedit.sh.in
+++ b/scripts/libmakepkg/executable/debugedit.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# debugedit.sh - Confirm presence of debugedit binary
#
--- a/scripts/libmakepkg/executable/distcc.sh.in
+++ b/scripts/libmakepkg/executable/distcc.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# distcc.sh - Confirm presence of distcc binary
#
--- a/scripts/libmakepkg/executable/fakeroot.sh.in
+++ b/scripts/libmakepkg/executable/fakeroot.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# fakeroot.sh - Confirm presence of fakeroot binary
#
--- a/scripts/libmakepkg/executable/gpg.sh.in
+++ b/scripts/libmakepkg/executable/gpg.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# gpg.sh - Confirm presence of gpg binary
#
--- a/scripts/libmakepkg/executable/gzip.sh.in
+++ b/scripts/libmakepkg/executable/gzip.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# gzip.sh - Confirm presence of gzip binary
#
--- a/scripts/libmakepkg/executable/pacman.sh.in
+++ b/scripts/libmakepkg/executable/pacman.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# pacman.sh - Confirm presence of pacman binary
#
--- a/scripts/libmakepkg/executable/strip.sh.in
+++ b/scripts/libmakepkg/executable/strip.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# strip.sh - Confirm presence of strip binary
#
--- a/scripts/libmakepkg/executable/sudo.sh.in
+++ b/scripts/libmakepkg/executable/sudo.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# sudo.sh - Confirm presence of sudo binary
#
--- a/scripts/libmakepkg/executable/vcs.sh.in
+++ b/scripts/libmakepkg/executable/vcs.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# vcs.sh - Confirm presence of binaries for VCS operations
#
--- a/scripts/libmakepkg/lint_config.sh.in
+++ b/scripts/libmakepkg/lint_config.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# lint_config.sh - functions for checking for makepkg.conf errors
#
--- a/scripts/libmakepkg/util/dirsize.sh.in
+++ b/scripts/libmakepkg/util/dirsize.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# dirsize.sh - calculate size of all files in a directory
#
|