makemkv: Allow setting PWD in other variable

When using it with waypipe, the PWD set by env is ignored.
pull/64/head
Simon Bruder 2022-04-02 08:51:51 +02:00
parent 26bed20816
commit 72fd16e5f7
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ let
--dev-bind /dev/sr0 /dev/sr0 \
--dev-bind /dev/sg2 /dev/sg2 \
--dev-bind /sys/bus/scsi /sys/bus/scsi \
--bind $PWD $PWD \
--bind ''${PWD_TARGET:-$PWD} ''${PWD_TARGET:-$PWD} \
${pkgs.unstable.makemkv}/bin/makemkv
'';
in