Skip to content
Snippets Groups Projects
Commit 7347f8df authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Bugfix: The command tempfile was Ubuntu specific

parent ce46517c
No related branches found
No related tags found
No related merge requests found
......@@ -265,7 +265,7 @@ function copyFiles () {
# http://stackoverflow.com/questions/14434549/how-to-expand-shell-variables-in-a-text-file
# Input: template-file
function ctemplate() {
TMP="`tempfile`.sh"
TMP="`mktemp`.sh"
echo 'cat <<END_OF_TEXT' > $TMP
cat "$1" >> $TMP
echo 'END_OF_TEXT' >> $TMP
......
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