Merge pull request #19125 from markus1189/bin-bash-cleanup
Bin bash cleanup
This commit is contained in:
@@ -4,7 +4,7 @@ let
|
|||||||
binPath = lib.makeBinPath [ cdrtools dvdauthor ffmpeg imagemagick lame mjpegtools sox transcode vorbis-tools ];
|
binPath = lib.makeBinPath [ cdrtools dvdauthor ffmpeg imagemagick lame mjpegtools sox transcode vorbis-tools ];
|
||||||
|
|
||||||
wrapper = writeScript "dvd-slideshow.sh" ''
|
wrapper = writeScript "dvd-slideshow.sh" ''
|
||||||
#!/bin/bash
|
#!${stdenv.shell}
|
||||||
# wrapper script for dvd-slideshow programs
|
# wrapper script for dvd-slideshow programs
|
||||||
export PATH=${binPath}:$PATH
|
export PATH=${binPath}:$PATH
|
||||||
|
|
||||||
|
|||||||
Regular → Executable
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!@shell@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
|||||||
Regular → Executable
Regular → Executable
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!@shell@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!@shell@
|
||||||
|
|
||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
echo "Building Manticore research compiler."
|
echo "Building Manticore research compiler."
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
cp AstroMenace $out
|
cp AstroMenace $out
|
||||||
cp gamedata.vfs $out
|
cp gamedata.vfs $out
|
||||||
cat > $out/bin/AstroMenace << EOF
|
cat > $out/bin/AstroMenace << EOF
|
||||||
#!/bin/bash
|
#!${stdenv.shell}
|
||||||
$out/AstroMenace --dir=$out
|
$out/AstroMenace --dir=$out
|
||||||
EOF
|
EOF
|
||||||
chmod 755 $out/bin/AstroMenace
|
chmod 755 $out/bin/AstroMenace
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
|
|||||||
done
|
done
|
||||||
cp Micropolis $out/usr/share/games/micropolis
|
cp Micropolis $out/usr/share/games/micropolis
|
||||||
cat > $out/bin/micropolis << EOF
|
cat > $out/bin/micropolis << EOF
|
||||||
#!/bin/bash
|
#!${stdenv.shell}
|
||||||
cd $out/usr/share/games/micropolis
|
cd $out/usr/share/games/micropolis
|
||||||
./Micropolis
|
./Micropolis
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!@shell@
|
||||||
|
|
||||||
set "$(dirname "$0")"/X11.bin "${@}"
|
set "$(dirname "$0")"/X11.bin "${@}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!@shell@
|
||||||
|
|
||||||
export PATH=@PATH@:$PATH
|
export PATH=@PATH@:$PATH
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user