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]: <http://unix.stackexchange.com/a/84980> "Fix or alternative for mktemp in OS X" Signed-off-by: elliottcable <m...@ell.io> --- src/sweet-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sweet-run b/src/sweet-run index b40952c..d4fdca9 100755 --- a/src/sweet-run +++ b/src/sweet-run @@ -11,7 +11,7 @@ # ;!# # Where "guile -s" might be "scsh -s" or similar. -result="$(mktemp)" +result="$(mktemp 2>/dev/null || mktemp -t 'sweet-run')" export PATH="@PATH_PREFIX@$PATH" -- 2.0.0 ------------------------------------------------------------------------------ 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