mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-07 17:55:30 +00:00
Buglet #1: fix the line endings (Win32->Unix) on the *correct* version of configure.ac...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10274 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f7fcd023fd
commit
8a989fdc68
@ -242,12 +242,13 @@ build_lyx()
|
|||||||
# Check the line endings of configure.ac
|
# Check the line endings of configure.ac
|
||||||
# The configure script will be unable to create config.h if it
|
# The configure script will be unable to create config.h if it
|
||||||
# contains Win32-style line endings.
|
# contains Win32-style line endings.
|
||||||
|
rm -f ${LYX_DIR}/configure.ac
|
||||||
sed 's/
|
sed 's/
|
||||||
$//' ${LYX_DIR}/configure.ac > configure.ac.$$
|
$//' ${LYX_DIR}/config/configure.ac > configure.ac.$$
|
||||||
cmp -s ${LYX_DIR}/configure.ac configure.ac.$$ && {
|
cmp -s ${LYX_DIR}/config/configure.ac configure.ac.$$ && {
|
||||||
rm -f configure.ac.$$
|
rm -f configure.ac.$$
|
||||||
} || {
|
} || {
|
||||||
mv -f configure.ac.$$ ${LYX_DIR}/configure.ac
|
mv -f configure.ac.$$ ${LYX_DIR}/config/configure.ac
|
||||||
echo 'configure.ac has Win32-style line endings. Corrected' >&2
|
echo 'configure.ac has Win32-style line endings. Corrected' >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user