diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2015-02-24 13:34:17 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2015-02-24 13:34:17 +0100 |
commit | 892d6edccd8d94b24cf4740638fa07c9762650fc (patch) | |
tree | eb5c44056f356c4df1b741e5f80df5538e2276bd /autogen.sh | |
parent | 329ef1c22a3314ca224716eedc2c33c477d4fbb9 (diff) | |
download | calcurse-892d6edccd8d94b24cf4740638fa07c9762650fc.zip |
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>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |