aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index dbb7086..bd21ca3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -32,8 +32,9 @@
autopoint --force
if ! grep -F -q datarootdir po/Makefile.in.in
then
- sed -i '/^datadir =/i\
-datarootdir = @datarootdir@\' po/Makefile.in.in
+ sed '/^datadir =/i\
+datarootdir = @datarootdir@\' po/Makefile.in.in >po/Makefile.in.in.tmp
+ mv po/Makefile.in.in.tmp po/Makefile.in.in
fi
aclocal -I m4
autoheader