Date: Tue, 28 Mar 2000 03:50:03 -0800 (PST) From: Maxim Sobolev <sobomax@altavista.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/17633: [NEW PORT] New port of xlHtml-yet another utility to convert MS Excel and PowerPoint files into HTML and text Message-ID: <200003281150.DAA11094@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/17633; it has been noted by GNATS. From: Maxim Sobolev <sobomax@altavista.net> To: freebsd-gnats-submit@FreeBSD.org, sobomax@altavista.net Cc: Subject: Re: ports/17633: [NEW PORT] New port of xlHtml-yet another utility to convert MS Excel and PowerPoint files into HTML and text Date: Tue, 28 Mar 2000 14:42:04 +0300 This is a multi-part message in MIME format. --------------B5BA1387ACDCAE59C651716A Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit It seems that I've forgot to look into shell scripts installed by the port - they are using tcsh. Following is two additional patches to make these scripts work with /bin/csh instead. Reminded by: Nickolay Dudorov <nnd@mail.nsk.ru> -Maxim --------------B5BA1387ACDCAE59C651716A Content-Type: text/plain; charset=koi8-r; name="patch-ae" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-ae" --- xlHtml/nsxlview.orig Tue Mar 28 13:49:06 2000 +++ xlHtml/nsxlview Tue Mar 28 14:34:35 2000 @@ -1,4 +1,4 @@ -#!/bin/tcsh +#!/bin/csh if ($#argv != 1) then echo "Usage: $0 file.xls" @@ -9,12 +9,12 @@ #Generate a unique html filename (/tmp/scriptname.pidnum.html) set com = $0 -set tmp = /tmp/$com:t.$$ +set tmp = `mktemp -t $0:t` || exit 1 set html = $tmp.html xlHtml -a $source > $html -if ((!(-s $html)) | ($status)) then - echo "$0: failed to generate HTML file" +if ((!(-r $html)) | ($status)) then + echo "$0"": failed to generate HTML file" exit 1 endif --------------B5BA1387ACDCAE59C651716A Content-Type: text/plain; charset=koi8-r; name="patch-ad" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-ad" --- xlHtml/nsopen.orig Tue Mar 28 13:48:58 2000 +++ xlHtml/nsopen Tue Mar 28 14:27:14 2000 @@ -1,4 +1,4 @@ -#!/bin/tcsh +#!/bin/csh if ($#argv != 1) then echo "Usage: $0 file" @@ -7,7 +7,7 @@ set file = $argv[1] if (!(-r $file)) then - echo "$0: File $file cannot be read" + echo "$0"": File $file cannot be read" exit 1 endif --------------B5BA1387ACDCAE59C651716A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003281150.DAA11094>