fix autogen.sh for old seds like found on msys
authorMatthias Braun <matze@braunis.de>
Mon, 20 Mar 2006 22:59:36 +0000 (22:59 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 20 Mar 2006 22:59:36 +0000 (22:59 +0000)
SVN-Revision: 3107

autogen.sh

index a0593e3..8241d5a 100755 (executable)
@@ -12,9 +12,8 @@ autoheader
 # generate Jamconfig.in
 autoconf --trace=AC_SUBST \
   | sed -e 's/configure.ac:[0-9]*:AC_SUBST:\([^:]*\).*/\1 ?= "@\1@" ;/g' \
+  | sed -e 's/.*BACKSLASH.*//' \
   > Jamconfig.in
-sed -e 's/.*BACKSLASH.*//' -i~ Jamconfig.in
-rm Jamconfig.in~
 echo 'INSTALL ?= "@INSTALL@" ;' >> Jamconfig.in
 echo 'JAMCONFIG_READ = yes ;' >> Jamconfig.in