Re: [Readable-discuss] [PATCH] fix: sweet-run invokes mktemp in a Darwin-friendly way

2014-06-15 Thread David A. Wheeler
On Sun, 15 Jun 2014 12:01:12 -0700 (PDT), "ELLIOTTCABLE"  wrote:
> I want to fix shebang semantics, but I am on the road right now. I will try 
> to get a patch together by tomorrow.—

I already fixed sweet-run so that it returned the exit code of the underlying 
program.

At least, I *think* I fixed it.

Was there something else?

--- David A. Wheeler

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss


Re: [Readable-discuss] [PATCH] fix: sweet-run invokes mktemp in a Darwin-friendly way

2014-06-15 Thread ELLIOTTCABLE
I want to fix shebang semantics, but I am on the road right now. I will try to 
get a patch together by tomorrow.—
Sent from Mailbox

On Sat, Jun 14, 2014 at 5:04 PM, David A. Wheeler 
wrote:

> On Sat, 14 Jun 2014 11:56:13 -0500, Elliott Cable  wrote:
>> This fixes the following error arising on Mac OS X machines:
>> 
>> > sweet-run something.sscp
>> usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
>>   mktemp [-d] [-q] [-u] -t prefix
>> /usr/local/bin/sweet-run: line 20: : No such file or directory
>> chmod: fts_open: No such file or directory
>> /usr/local/bin/sweet-run: line 30: ./: is a directory
>> 
>> The meat of the solution is by "krinkle" [on Stack Overflow.][1]
>>[1]:  "Fix or alternative
>> for mktemp in OS X"
> Awesome, thanks!! That's now in the "devel" branch.
> I added a testcase specifically for sweet-run.  In the process, I found that 
> sweet-run didn't
> return the exit code of the executed program.  So we now have a test case and 
> another
> two improvements of sweet-run.
> Does anyone have any other changes before a new release?
> --- David A. Wheeler--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss


Re: [Readable-discuss] [PATCH] fix: sweet-run invokes mktemp in a Darwin-friendly way

2014-06-14 Thread David A. Wheeler
On Sat, 14 Jun 2014 11:56:13 -0500, Elliott Cable  wrote:
> This fixes the following error arising on Mac OS X machines:
> 
> > sweet-run something.sscp
> usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
>   mktemp [-d] [-q] [-u] -t prefix
> /usr/local/bin/sweet-run: line 20: : No such file or directory
> chmod: fts_open: No such file or directory
> /usr/local/bin/sweet-run: line 30: ./: is a directory
> 
> The meat of the solution is by "krinkle" [on Stack Overflow.][1]
>[1]:  "Fix or alternative
> for mktemp in OS X"

Awesome, thanks!! That's now in the "devel" branch.

I added a testcase specifically for sweet-run.  In the process, I found that 
sweet-run didn't
return the exit code of the executed program.  So we now have a test case and 
another
two improvements of sweet-run.

Does anyone have any other changes before a new release?

--- David A. Wheeler

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss