forked from mirrors/nixpkgs
Merge pull request #19125 from markus1189/bin-bash-cleanup
Bin bash cleanup
This commit is contained in:
commit
1bd8d7710e
|
@ -4,7 +4,7 @@ let
|
|||
binPath = lib.makeBinPath [ cdrtools dvdauthor ffmpeg imagemagick lame mjpegtools sox transcode vorbis-tools ];
|
||||
|
||||
wrapper = writeScript "dvd-slideshow.sh" ''
|
||||
#!/bin/bash
|
||||
#!${stdenv.shell}
|
||||
# wrapper script for dvd-slideshow programs
|
||||
export PATH=${binPath}:$PATH
|
||||
|
||||
|
@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
|
|||
# fix upstream typos
|
||||
substituteInPlace dvd-slideshow \
|
||||
--replace "version='0.8.4-1'" "version='0.8.4-2'" \
|
||||
--replace "mymyecho" "myecho"
|
||||
--replace "mymyecho" "myecho"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
2
pkgs/build-support/cc-wrapper/ld-solaris-wrapper.sh
Normal file → Executable file
2
pkgs/build-support/cc-wrapper/ld-solaris-wrapper.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!@shell@
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
|
0
pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh
Normal file → Executable file
0
pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh
Normal file → Executable file
2
pkgs/build-support/gcc-wrapper-old/ld-solaris-wrapper.sh
Normal file → Executable file
2
pkgs/build-support/gcc-wrapper-old/ld-solaris-wrapper.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!@shell@
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!@shell@
|
||||
|
||||
source $stdenv/setup
|
||||
echo "Building Manticore research compiler."
|
||||
|
|
|
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p $out/bin
|
||||
cp AstroMenace $out
|
||||
cp gamedata.vfs $out
|
||||
cat > $out/bin/AstroMenace << EOF
|
||||
#!/bin/bash
|
||||
cat > $out/bin/AstroMenace << EOF
|
||||
#!${stdenv.shell}
|
||||
$out/AstroMenace --dir=$out
|
||||
EOF
|
||||
chmod 755 $out/bin/AstroMenace
|
||||
|
|
|
@ -33,8 +33,8 @@ stdenv.mkDerivation {
|
|||
cp -R $d $out/usr/share/games/micropolis
|
||||
done
|
||||
cp Micropolis $out/usr/share/games/micropolis
|
||||
cat > $out/bin/micropolis << EOF
|
||||
#!/bin/bash
|
||||
cat > $out/bin/micropolis << EOF
|
||||
#!${stdenv.shell}
|
||||
cd $out/usr/share/games/micropolis
|
||||
./Micropolis
|
||||
EOF
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!@shell@
|
||||
|
||||
set "$(dirname "$0")"/X11.bin "${@}"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!@shell@
|
||||
|
||||
export PATH=@PATH@:$PATH
|
||||
|
||||
|
@ -83,7 +83,7 @@ get_fontdirs() {
|
|||
if [[ $osxfonts == 1 ]] ; then
|
||||
find {/System/,/}Library/Fonts -type d
|
||||
fi
|
||||
else
|
||||
else
|
||||
if [[ $osxfonts == 1 && -d "${HOME}/Library/Fonts" ]] ; then
|
||||
find "${HOME}/Library/Fonts" -type d
|
||||
fi
|
||||
|
|
|
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
|||
inherit sha256;
|
||||
};
|
||||
in
|
||||
import ./bash-4.3-patches.nix patch)
|
||||
import ./bash-4.3-patches.nix patch)
|
||||
++ optional stdenv.isCygwin ./cygwin-bash-4.3.33-1.src.patch;
|
||||
|
||||
crossAttrs = {
|
||||
|
|
Loading…
Reference in a new issue