treewide: use ${stdenv.shell} instead of /bin/sh where possible
This commit is contained in:
@@ -53,7 +53,7 @@ let
|
||||
mkdir -p $out/bin
|
||||
if [ -x "${gcc.cc}/bin/gcc" ]; then
|
||||
cat > $out/bin/gcc << EOF
|
||||
#!/bin/sh
|
||||
#!${stdenv.shell}
|
||||
${extraConfig}
|
||||
exec ${distcc}/bin/distcc gcc "\$@"
|
||||
EOF
|
||||
@@ -61,7 +61,7 @@ let
|
||||
fi
|
||||
if [ -x "${gcc.cc}/bin/g++" ]; then
|
||||
cat > $out/bin/g++ << EOF
|
||||
#!/bin/sh
|
||||
#!${stdenv.shell}
|
||||
${extraConfig}
|
||||
exec ${distcc}/bin/distcc g++ "\$@"
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user