repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
toxic: 0.15.1 -> 0.16.0
[NixPkgs.git]
/
pkgs
/
by-name
/
sa
/
saunafs
/
sfstool.patch
blob
90c5f840489d1bca18bd5c5351732057ec90aa1b
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
7
8
-tool=$(basename $0)
9
+tool="$(basename $0)"
10
+dir="$(dirname $0)"
11
12
-${tool/saunafs/saunafs } "$@"
13
+$dir/saunafs ${tool/sfs/} "$@"