summaryrefslogtreecommitdiff
path: root/common/punch
diff options
context:
space:
mode:
authorAri Sundholm <ari@tuxera.com>2015-08-04 14:10:48 +1000
committerDave Chinner <david@fromorbit.com>2015-08-04 14:10:48 +1000
commitd48469086a21e2de9e13a6653c28101236ce1b31 (patch)
tree421aa4a1329d687776f16088ef06a3e41bad5708 /common/punch
parent0e2a022a670b21769dc4cb7c9a0e24cb38c25b99 (diff)
awk invocation cleanup for busybox support.
These changes make it possible to run more of the tests on busybox. Signed-off-by: Ari Sundholm <ari@tuxera.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'common/punch')
-rw-r--r--common/punch4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/punch b/common/punch
index a75f4cfd..e8770ab8 100644
--- a/common/punch
+++ b/common/punch
@@ -203,7 +203,7 @@ _coalesce_extents()
_filter_fiemap()
{
- awk --posix '
+ $AWK_PROG '
$3 ~ /hole/ {
print $1, $2, $3;
next;
@@ -223,7 +223,7 @@ _filter_fiemap()
# it is an extent or a hole
_filter_hole_fiemap()
{
- awk --posix '
+ $AWK_PROG '
$3 ~ /hole/ {
print $1, $2, $3;
next;