mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
Use env var for sed
Reviewed-by: Brian Atkinson <batkinson@lanl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Andrew Innes <andrew.c12@gmail.com> Closes #15470
This commit is contained in:
parent
41e55b476b
commit
0527774066
@ -44,7 +44,7 @@ AM_INIT_AUTOMAKE([subdir-objects foreign])
|
||||
# Remove default macros from config.h:
|
||||
# PACKAGE, PACKAGE_{BUGREPORT,NAME,STRING,TARNAME,VERSION}, STDC_HEADERS, VERSION
|
||||
AC_CONFIG_HEADERS([zfs_config.h], [
|
||||
sed -nri~ -e '/^$/be' -e 'N;N;/#define (PACKAGE|VERSION|STDC_HEADERS)/d' -e ':e' -e 'p' zfs_config.h && rm zfs_config.h~ || exit])
|
||||
$SED -nri~ -e '/^$/be' -e 'N;N;/#define (PACKAGE|VERSION|STDC_HEADERS)/d' -e ':e' -e 'p' zfs_config.h && rm zfs_config.h~ || exit])
|
||||
|
||||
LT_INIT
|
||||
AC_PROG_INSTALL
|
||||
|
Loading…
Reference in New Issue
Block a user