diff options
| author | tv <tv@krebsco.de> | 2026-01-20 16:11:14 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-01-20 16:11:14 +0100 |
| commit | 5a444a8213f8339f878fcdc4cd2e13541a882322 (patch) | |
| tree | b150d77c87352e8d38c2c6f2a3264b3ebfd61538 /krebs | |
| parent | 24ae7ddd8f67bf9226391eaa365931f78c811b11 (diff) | |
htgen: use bash while dash is broken
Since dash a065467, dash's read is broken when used with tcpserver.
Example: when test.sh is `read test; echo test=$test`, then
`echo test | socat STDIN SYSTEM:'dash test.sh'` will output `test=`
instead of `test=test`.
Diffstat (limited to 'krebs')
| -rw-r--r-- | krebs/5pkgs/simple/htgen/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/htgen/default.nix b/krebs/5pkgs/simple/htgen/default.nix index 1ee13783b..c2c8ef50c 100644 --- a/krebs/5pkgs/simple/htgen/default.nix +++ b/krebs/5pkgs/simple/htgen/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/bin { - echo '#! ${pkgs.dash}/bin/dash' + echo '#! ${pkgs.bash}/bin/bash' echo 'export PATH=${lib.makeBinPath [ pkgs.coreutils pkgs.jq |
