From bb019694215fbf7f676a13296707cfef20291d78 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Tue, 3 Apr 2018 12:48:59 +0200 Subject: [PATCH] gopher.sh: fix mktemp usage (6 'X's instead of 5?) --- gopher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gopher.sh b/gopher.sh index 93715fc..56fe265 100755 --- a/gopher.sh +++ b/gopher.sh @@ -66,7 +66,7 @@ getsel() { cat "$1" | grep '^[0-9]' | tail -n+"$2" | head -n 1 | cut -f"$3" } -tmp="`mktemp gofetch.current_page.XXXXX`" +tmp="`mktemp -t gofetch.current_page.XXXXXX`" finish() { rm -rf "$tmp" } -- 2.27.0