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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
expand() {
|
||||
TITLE="$1"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
remove_nbsp() {
|
||||
sed 's#\ # #g'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
|
|||
dontPatch = true;
|
||||
|
||||
installFlags = "PREFIX=${placeholder "out"} VERSION=${version}";
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs bin/*.sh
|
||||
'';
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
gawk
|
||||
gnused
|
||||
|
|
Loading…
Reference in a new issue