diff options
author | Torsten Bögershausen <tboegi@web.de> | 2012-12-08 22:33:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-09 01:37:49 -0800 |
commit | 76095f6d609a465840f62dd601a1ad9f90c75330 (patch) | |
tree | bafc5be2fd8496abb6e7348c3cae2cd063550cb7 /contrib/svn-fe | |
parent | cvsserver Documentation: new cvs ... -r support (diff) | |
download | tgif-76095f6d609a465840f62dd601a1ad9f90c75330.tar.xz |
t9402: sed -i is not portable
On some systems sed allows the usage of e.g.
sed -i -e "s/line1/line2/" afile
to edit the file "in place".
Other systems don't allow that: one observed behaviour is that
sed -i -e "s/line1/line2/" afile
creates a backup file called afile-e, which breaks the test.
As sed -i is not part of POSIX, avoid it.
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/svn-fe')
0 files changed, 0 insertions, 0 deletions