diff options
author | Héctor Orón Martínez <hector.oron@gmail.com> | 2016-05-02 16:38:24 +0200 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2016-05-21 15:07:27 -0300 |
commit | 90a6e7983ff16f5625d6e6d791460b7a1e6d5b6e (patch) | |
tree | 45efb3a97008e3412c24131da8813ce9a000cb52 /Makefile.am | |
parent | 1930899aaed49c96f41dd71da6d19f71f11b5258 (diff) | |
download | kmod-90a6e7983ff16f5625d6e6d791460b7a1e6d5b6e.tar.gz kmod-90a6e7983ff16f5625d6e6d791460b7a1e6d5b6e.tar.bz2 kmod-90a6e7983ff16f5625d6e6d791460b7a1e6d5b6e.zip |
kmod: compiling with old sed version (!ERE support)
Makefile.am uses `sed -E', which it is found on BSD sed; however a
replacement on GNU sed would be `sed -r'. Both intend to use extended
regular expressions (ERE). However I have a system that does not support
those, in benefit for portability could you consider replacing ERE by BRE.
Signed-off-by: Héctor Orón Martínez <hector.oron@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 2d9f2cf..8813475 100644 --- a/Makefile.am +++ b/Makefile.am @@ -107,7 +107,7 @@ install-exec-hook: if test "$(libdir)" != "$(rootlibdir)"; then \ $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \ so_img_name=$$(readlink $(DESTDIR)$(libdir)/libkmod.so) && \ - so_img_rel_target_prefix=$$(echo $(libdir) | sed -E 's,(^/|)[^/][^/]*,..,g') && \ + so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \ ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libkmod.so && \ mv $(DESTDIR)$(libdir)/libkmod.so.* $(DESTDIR)$(rootlibdir); \ fi |