Lines Matching full:sed
4 Subject: [PATCH] Misc/python-config.sh.in: ensure sed invocations only match
7 The build/real prefix handling using sed breaks if build != real and the
17 the double sed invocation (prefix is already expanded). Work around it by
38 # Use sed to fix paths from their built-to locations to their installed-to
44 +prefix=$(echo "$prefix_build" | sed "s#^$prefix_build#$prefix_real#")
45 +exec_prefix=$(echo "$exec_prefix_build" | sed "s#^$exec_prefix_build#$prefix_real#")
47 -includedir=$(echo "@includedir@" | sed "s#$prefix#$prefix_real#")
48 -libdir=$(echo "@libdir@" | sed "s#$prefix#$prefix_real#")
49 -CFLAGS=$(echo "@CFLAGS@" | sed "s#$prefix#$prefix_real#")
50 +includedir=$(echo "@includedir@" | sed "s#^$prefix_build#$prefix_real#")
51 +libdir=$(echo "@libdir@" | sed "s#^$prefix_build#$prefix_real#")
52 +CFLAGS=$(echo "@CFLAGS@" | sed "s#^$prefix_build#$prefix_real#")
60 -LIBPL=$(echo "@LIBPL@" | sed "s#$prefix#$prefix_real#")
61 +LIBPL=$(echo "@LIBPL@" | sed "s#^$prefix_build#$prefix_real#")