saunafs: 4.6.0 -> 4.7.0 (#379649)

This commit is contained in:
Markus Kowalewski 2025-02-08 13:54:32 +01:00 committed by GitHub
commit fa35a3c8e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 12 deletions

View File

@ -6,7 +6,7 @@
cmake, cmake,
asciidoc, asciidoc,
jemalloc, jemalloc,
boost, boost186,
fmt, fmt,
fuse3, fuse3,
spdlog, spdlog,
@ -17,18 +17,17 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "saunafs"; pname = "saunafs";
version = "4.6.0"; version = "4.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "leil-io"; owner = "leil-io";
repo = "saunafs"; repo = "saunafs";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-uPHgyCL4/HYjoIm1Ev5p7lXAf1KlpV/OAqLVhu5Ang4="; hash = "sha256-6WXSnItbydH3Lk04l0Iph14EKzL/Pl5vriWdhHxTF6I=";
}; };
patches = [ patches = [
./sfstool.patch ./sfstool.patch
]; ];
outputs = [ outputs = [
@ -46,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
spdlog spdlog
yaml-cpp yaml-cpp
fuse3 fuse3
boost boost186
jemalloc jemalloc
isa-l isa-l
judy judy

View File

@ -1,13 +1,12 @@
diff --git a/src/tools/sfstools.sh b/src/tools/sfstools.sh diff --git a/src/tools/sfstools.sh b/src/tools/sfstools.sh
index c6c41197..9a59814f 100755 index ffd9ec22..a1cb83b6 100755
--- a/src/tools/sfstools.sh --- a/src/tools/sfstools.sh
+++ b/src/tools/sfstools.sh +++ b/src/tools/sfstools.sh
@@ -1,5 +1,6 @@ @@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
-tool=$(basename $0) tool="$(basename $0)"
+tool="$(basename $0)" -exec saunafs "${tool#sfs}" "$@"
+dir="$(dirname $0)" +dir="$(dirname $0)"
+
-${tool/saunafs/saunafs } "$@" +exec "$dir/saunafs" "${tool#sfs}" "$@"
+$dir/saunafs ${tool/sfs/} "$@"