toxic: 0.15.1 -> 0.16.0
[NixPkgs.git] / pkgs / by-name / sa / saunafs / sfstool.patch
blob90c5f840489d1bca18bd5c5351732057ec90aa1b
1 diff --git a/src/tools/sfstools.sh b/src/tools/sfstools.sh
2 index c6c41197..9a59814f 100755
3 --- a/src/tools/sfstools.sh
4 +++ b/src/tools/sfstools.sh
5 @@ -1,5 +1,6 @@
6 #!/usr/bin/env bash
8 -tool=$(basename $0)
9 +tool="$(basename $0)"
10 +dir="$(dirname $0)"
12 -${tool/saunafs/saunafs } "$@"
13 +$dir/saunafs ${tool/sfs/} "$@"