aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/arcstat/Makefile.am2
-rw-r--r--cmd/dbufstat/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/arcstat/Makefile.am b/cmd/arcstat/Makefile.am
index 8166778a1..4b79f4bdd 100644
--- a/cmd/arcstat/Makefile.am
+++ b/cmd/arcstat/Makefile.am
@@ -8,6 +8,6 @@ dist_bin_SCRIPTS = arcstat
#
if USING_PYTHON_2
install-exec-hook:
- sed --in-place 's|^#!/usr/bin/env python3|#!/usr/bin/env python2|' \
+ sed ${ac_inplace} -e 's|^#!/usr/bin/env python3|#!/usr/bin/env python2|' \
$(DESTDIR)$(bindir)/arcstat
endif
diff --git a/cmd/dbufstat/Makefile.am b/cmd/dbufstat/Makefile.am
index a3f0c6e50..10c9fbabb 100644
--- a/cmd/dbufstat/Makefile.am
+++ b/cmd/dbufstat/Makefile.am
@@ -8,6 +8,6 @@ dist_bin_SCRIPTS = dbufstat
#
if USING_PYTHON_2
install-exec-hook:
- sed --in-place 's|^#!/usr/bin/env python3|#!/usr/bin/env python2|' \
+ sed ${ac_inplace} -e 's|^#!/usr/bin/env python3|#!/usr/bin/env python2|' \
$(DESTDIR)$(bindir)/dbufstat
endif