Skip to content
Snippets Groups Projects
Commit ebe0b236 authored by Holger Brandl's avatar Holger Brandl
Browse files

fixed mktemp for macos

parent 5ecc6d47
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ rendr_snippet(){
fi
reportName=$1
tmpR=$(mktemp -d)/$(echo $reportName | tr " " "_").R
tmpR=$(mktemp -d mktemp -d /tmp/rendr.XXXX)/$(echo $reportName | tr " " "_").R
## http://stackoverflow.com/questions/11454343/pipe-output-to-bash-function
cat | sed 's/#>/#'"'"'/g' > $tmpR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment