From: Niki Roo Date: Tue, 3 Apr 2018 10:48:59 +0000 (+0200) Subject: gopher.sh: fix mktemp usage (6 'X's instead of 5?) X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=bb019694215fbf7f676a13296707cfef20291d78;p=gofetch.git gopher.sh: fix mktemp usage (6 'X's instead of 5?) --- 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" }