Skip to content

Commit

Permalink
mkfs.bcachefs: convert to POSIX sh
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Feb 9, 2018
1 parent 1c0c625 commit 2a6b7fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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 "$@"

0 comments on commit 2a6b7fe

Please sign in to comment.