mkfs.bcachefs: convert to POSIX sh

This commit is contained in:
Leah Neukirchen 2018-02-09 16:54:03 +01:00
parent 1c0c62559f
commit 2a6b7fe8ba

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/bin/sh
SDIR="$(dirname "$(readlink -f "$0")")" SDIR="$(readlink -f "$0")"
exec "$SDIR/bcachefs" format "$@" exec "${SDIR%/*}/bcachefs" format "$@"