diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-16 18:32:47 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-16 18:32:47 -0500 |
commit | 35525e096061c33b9c10cfb2b0312846b4b0b9fe (patch) | |
tree | 86dcb5db4756658c7a83652cd31fc1283ed5d9f0 /lddtree.sh | |
parent | enable travis build support (diff) | |
download | pax-utils-35525e096061c33b9c10cfb2b0312846b4b0b9fe.tar.gz pax-utils-35525e096061c33b9c10cfb2b0312846b4b0b9fe.tar.bz2 pax-utils-35525e096061c33b9c10cfb2b0312846b4b0b9fe.zip |
use `sed -E -i.tmp` everywhere
POSIX is adding the -E flag to enable ERE behavior, and GNU/sed already
supports this, as do various BSD systems (including OS X).
While GNU makes the suffix to -i optional, POSIX/etc... do not, so make
sure we always specify it.
Diffstat (limited to 'lddtree.sh')
-rwxr-xr-x | lddtree.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ elf_specs() { # LINUX and GNU are the same thing, as are NONE and SYSV, so normalize # GNU & LINUX to NONE. #442024 #464380 scanelf -BF '#F%a %M %D %I' "$1" | \ - sed -r 's: (LINUX|GNU)$: NONE:' + sed -E 's: (LINUX|GNU)$: NONE:' } lib_paths_fallback="${ROOT}lib* ${ROOT}usr/lib* ${ROOT}usr/local/lib*" |