Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 11 lines 359 B view raw
1diff --git a/src/tools/sfstools.sh b/src/tools/sfstools.sh 2index 2d47a275..30d1b20c 100755 3--- a/src/tools/sfstools.sh 4+++ b/src/tools/sfstools.sh 5@@ -2,4 +2,5 @@ 6 7 tool="$(basename $0)" 8 >&2 echo "Warning: ${tool} is deprecated. Use saunafs ${tool#sfs} instead." 9-exec saunafs "${tool#sfs}" "$@" 10+dir="$(dirname $0)" 11+exec "$dir/saunafs" "${tool#sfs}" "$@"