mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +03:00
Switch sed -E to -r for better portability
GNU sed 4.1.2 does not support the -E flag and this version is used by some cross-compiling tool chains. Switch -E to -r which is understood. Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #13502
This commit is contained in:
parent
4dc1c8a0b8
commit
82aa4f6f85
@ -43,7 +43,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 -nEi~ -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