Skip to content

Commit 25d7dad

Browse files
author
udhos
committed
Specify argument to mktemp -t.
1 parent aa26802 commit 25d7dad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

update-golang.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ path_mark=update-golang.sh
256256
profile_path_remove() {
257257
if [ -f "$abs_profiled" ]; then
258258
msg profile_path_remove: removing old settings from: "$abs_profiled"
259-
tmp=$(mktemp -t) # save for later removal
259+
tmp=$(mktemp -t profile-tmpXXXXXXXX) # save for later removal
260260
if [ ! -f "$tmp" ]; then
261261
msg profile_path_remove: could not create temporary file: "$tmp"
262262
return

update-golang.sh.sha256

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b93ac25f21d7bb7e7756b7344382802da8801cb4b2cfc26fc32dc2f295b01296 update-golang.sh
1+
2d890dfe07eab0700d14ccc282c1dd2ec737095e907b4cad3c71d1ec423d0e31 update-golang.sh

0 commit comments

Comments
 (0)