diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-01-19 14:15:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-19 14:15:51 +0100 |
commit | d531da6f8ae7a8dab806bcd3211cd84d2d189d24 (patch) | |
tree | 5b4c5b9e34d2e1bfd02fb8ff26db876806007edc /pkgs/tools/archivers | |
parent | 4eca960cb4ed5e68b93d112fd90623a5a2bae433 (diff) | |
parent | bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 (diff) |
Merge pull request #54094 from rnhmjoj/shell
treewide: use ${stdenv.shell} instead of /bin/sh where possible
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r-- | pkgs/tools/archivers/rpmextract/default.nix | 1 | ||||
-rw-r--r-- | pkgs/tools/archivers/rpmextract/rpmextract.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/rpmextract/default.nix b/pkgs/tools/archivers/rpmextract/default.nix index 8d4d5fd8dddd4..6d5041c52d031 100644 --- a/pkgs/tools/archivers/rpmextract/default.nix +++ b/pkgs/tools/archivers/rpmextract/default.nix @@ -10,6 +10,7 @@ stdenv.mkDerivation rec { script = substituteAll { src = ./rpmextract.sh; inherit rpm cpio; + inherit (stdenv) shell; }; meta = with stdenv.lib; { diff --git a/pkgs/tools/archivers/rpmextract/rpmextract.sh b/pkgs/tools/archivers/rpmextract/rpmextract.sh index 04f57f6e6045a..6ebfa251955d4 100644 --- a/pkgs/tools/archivers/rpmextract/rpmextract.sh +++ b/pkgs/tools/archivers/rpmextract/rpmextract.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!@shell@ -e if [ "$1" = "" ]; then echo "usage: rpmextract package_name..." 1>&2 |