From 8a989fdc68f33b60313a2ee4c53cd22af9ad69ac Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Sun, 17 Jul 2005 11:43:33 +0000 Subject: [PATCH] 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 --- development/Win32/packaging/build_lyxwin.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/development/Win32/packaging/build_lyxwin.sh b/development/Win32/packaging/build_lyxwin.sh index 798c40a983..4e72fa31a1 100644 --- a/development/Win32/packaging/build_lyxwin.sh +++ b/development/Win32/packaging/build_lyxwin.sh @@ -242,12 +242,13 @@ build_lyx() # Check the line endings of configure.ac # The configure script will be unable to create config.h if it # contains Win32-style line endings. + rm -f ${LYX_DIR}/configure.ac sed 's/ -$//' ${LYX_DIR}/configure.ac > configure.ac.$$ - cmp -s ${LYX_DIR}/configure.ac configure.ac.$$ && { +$//' ${LYX_DIR}/config/configure.ac > configure.ac.$$ + cmp -s ${LYX_DIR}/config/configure.ac 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 }