Explicitly patch shebangs
This commit is contained in:
parent
f970055a0b
commit
f5cb498796
5 changed files with 9 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
expand() {
|
expand() {
|
||||||
TITLE="$1"
|
TITLE="$1"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
remove_nbsp() {
|
remove_nbsp() {
|
||||||
sed 's#\ # #g'
|
sed 's#\ # #g'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
|
||||||
dontPatch = true;
|
dontPatch = true;
|
||||||
|
|
||||||
installFlags = "PREFIX=${placeholder "out"} VERSION=${version}";
|
installFlags = "PREFIX=${placeholder "out"} VERSION=${version}";
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
patchShebangs bin/*.sh
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
gawk
|
gawk
|
||||||
gnused
|
gnused
|
||||||
|
|
Loading…
Reference in a new issue