3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #19125 from markus1189/bin-bash-cleanup

Bin bash cleanup
This commit is contained in:
Jörg Thalheim 2016-10-05 17:16:00 +02:00 committed by GitHub
commit 1bd8d7710e
10 changed files with 13 additions and 13 deletions

View file

@ -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
View file

@ -1,4 +1,4 @@
#!/bin/bash
#!@shell@
set -e
set -u

View file

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!@shell@
set -e
set -u

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!@shell@
source $stdenv/setup
echo "Building Manticore research compiler."

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!@shell@
set "$(dirname "$0")"/X11.bin "${@}"

View file

@ -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

View file

@ -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 = {