treewide: use ${stdenv.shell} instead of /bin/sh where possible
This commit is contained in:
@@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||
--subst-var-by out "$out/"
|
||||
substitute ${./fix-paths.sh} $out/fixpaths/fix-paths \
|
||||
--subst-var-by libxsltBin ${libxslt.bin} \
|
||||
--subst-var-by shell ${stdenv.shell} \
|
||||
--subst-var out
|
||||
chmod +x $out/fixpaths/fix-paths
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!@shell@
|
||||
|
||||
if [ -e ~/.config/freeorion/config.xml ]; then
|
||||
@libxsltBin@/bin/xsltproc -o ~/.config/freeorion/config.xml @out@/fixpaths/fix-paths.xslt ~/.config/freeorion/config.xml
|
||||
|
||||
Reference in New Issue
Block a user