autogen.sh: Do not use sed -i
`sed -i` is not portable, use a temporary file instead. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
329ef1c22a
commit
892d6edccd
@ -32,8 +32,9 @@
|
|||||||
autopoint --force
|
autopoint --force
|
||||||
if ! grep -F -q datarootdir po/Makefile.in.in
|
if ! grep -F -q datarootdir po/Makefile.in.in
|
||||||
then
|
then
|
||||||
sed -i '/^datadir =/i\
|
sed '/^datadir =/i\
|
||||||
datarootdir = @datarootdir@\' po/Makefile.in.in
|
datarootdir = @datarootdir@\' po/Makefile.in.in >po/Makefile.in.in.tmp
|
||||||
|
mv po/Makefile.in.in.tmp po/Makefile.in.in
|
||||||
fi
|
fi
|
||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
autoheader
|
autoheader
|
||||||
|
Loading…
x
Reference in New Issue
Block a user