Skip to content

Commit 04f5bf5

Browse files
committed
Support @ in path names for afterimage.
Instead of using @ as a command separator in sed, use | as suggested by ChristianTackeGSI. Fix #7786
1 parent 242aced commit 04f5bf5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

graf2d/asimage/src/libAfterImage/configure

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2854,10 +2854,10 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
28542854
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
28552855
28562856
currdir=`pwd`
2857-
INSTALL=`echo $INSTALL|sed -e "s@\^\.\.@${currdir}@" -e "s@^autoconf@${currdir}/autoconf@"`
2858-
INSTALL_PROGRAM=`echo $INSTALL_PROGRAM|sed -e "s@\^\.\.@${currdir}@" -e "s@^autoconf@${currdir}/autoconf@"`
2859-
INSTALL_DATA=`echo $INSTALL_DATA|sed -e "s@\^\.\.@${currdir}@" -e "s@^autoconf@${currdir}/autoconf@"`
2860-
INSTALL_LIB=`echo $INSTALL_LIB|sed -e "s@\^\.\.@${currdir}@" -e "s@^autoconf@${currdir}/autoconf@"`
2857+
INSTALL=`echo $INSTALL|sed -e "s|\^\.\.|${currdir}|" -e "s|^autoconf|${currdir}/autoconf|"`
2858+
INSTALL_PROGRAM=`echo $INSTALL_PROGRAM|sed -e "s|\^\.\.|${currdir}|" -e "s|^autoconf|${currdir}/autoconf|"`
2859+
INSTALL_DATA=`echo $INSTALL_DATA|sed -e "s|\^\.\.|${currdir}|" -e "s|^autoconf|${currdir}/autoconf|"`
2860+
INSTALL_LIB=`echo $INSTALL_LIB|sed -e "s|\^\.\.|${currdir}|" -e "s|^autoconf|${currdir}/autoconf|"`
28612861
28622862
if test -n "$ac_tool_prefix"; then
28632863
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.

0 commit comments

Comments
 (0)