diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-02-09 16:54:03 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-02-09 16:54:03 +0100 |
commit | 2a6b7fe8ba9e8416ea6543a55b2113b13557dc36 (patch) | |
tree | d2f783ab00cb96fe9f8616ab3eb871f9805209b2 /mkfs.bcachefs | |
parent | 1c0c62559f18081df508464898fabba4d581329f (diff) |
mkfs.bcachefs: convert to POSIX sh
Diffstat (limited to 'mkfs.bcachefs')
-rwxr-xr-x | mkfs.bcachefs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkfs.bcachefs b/mkfs.bcachefs index a0541d52..b3631bad 100755 --- a/mkfs.bcachefs +++ b/mkfs.bcachefs @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh -SDIR="$(dirname "$(readlink -f "$0")")" -exec "$SDIR/bcachefs" format "$@" +SDIR="$(readlink -f "$0")" +exec "${SDIR%/*}/bcachefs" format "$@" |