mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use if test <condition> ; then ... fi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9974 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0f41db9697
commit
3dd40899d8
@ -553,12 +553,12 @@ echo "creating doc/LaTeXConfig.lyx"
|
||||
echo "s/@chk_linuxdoc@/$chk_linuxdoc/g" >> chkconfig.sed
|
||||
echo "s/@chk_docbook@/$chk_docbook/g" >> chkconfig.sed
|
||||
|
||||
test `uname -s | grep 'MINGW'` && {
|
||||
if test `uname -s | grep 'MINGW'` ; then
|
||||
# Before running chkconfig.sed, remove the trailing '\r'
|
||||
# characters that can bugger up various versions of sed.
|
||||
tr -d '\r' < chkconfig.sed > chkconfig2.sed
|
||||
mv -f chkconfig2.sed chkconfig.sed
|
||||
}
|
||||
fi
|
||||
|
||||
sed -f chkconfig.sed "${srcdir}"/doc/LaTeXConfig.lyx.in >doc/LaTeXConfig.lyx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user