From ee0434c0ad07440a6613acaa3d461799bbe8d62e Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 23 Mar 2005 21:48:08 +0000 Subject: [PATCH] Enable convertDefault.sh to work reliably under Windows. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9739 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 7 +++++++ lib/scripts/convertDefault.sh | 15 --------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index a7107e6dc9..0cffce95da 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2005-03-23 Angus Leeming + + * scripts/convertDefault.sh: remove the test that "convert" really, + really succeeded, because it reports failures on Windows that are + actually successes. See, eg, + http://marc.theaimsgroup.com/?l=lyx-users&m=110561697803860&w=2 + 2005-03-17 Georg Baum * reLyX/syntax.default: update natbib/jurabib commands, add diff --git a/lib/scripts/convertDefault.sh b/lib/scripts/convertDefault.sh index 3b4c720b03..c6240e5319 100644 --- a/lib/scripts/convertDefault.sh +++ b/lib/scripts/convertDefault.sh @@ -20,18 +20,3 @@ convert -depth 8 "$1" "$2" || { echo "Execution of \"convert\" failed." exit 1 } - -# It appears that convert succeeded, but we know better than to trust it ;-) -# convert is passed strings in the form "FMT:FILENAME", so use the ':' to -# delimit the two parts. -# Note that Win32 filenames have the form 'C:\my\file', -# so use everything from the first ':' to the end of the line. -FILE=`echo "$2" | cut -d ':' -f 2-` - -test -f "$FILE" || { - echo "$0 ERROR" - echo "Unable to find file \"${FILE}\"" - exit 1 -} - -echo "$0 generated file \"${FILE}\" successfully." -- 2.39.5