From 7347f8df519d658c9e58f27f2a587fdff7f8095b Mon Sep 17 00:00:00 2001 From: Toke Eskildsen <te@ekot.dk> Date: Wed, 18 Dec 2013 15:10:40 +0100 Subject: [PATCH] Bugfix: The command tempfile was Ubuntu specific --- quack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quack.sh b/quack.sh index fa4060c..ea32cc1 100755 --- a/quack.sh +++ b/quack.sh @@ -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 -- GitLab