Skip to content

Commit 8abc26f

Browse files
authored
Merge pull request #12 from Mause/patch-1
Use mktemp to create temporary directory
2 parents d0baf76 + e14a7ab commit 8abc26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -eo pipefail
33

4-
TMP="/tmp/.gh-install"
4+
TMP=$(mktemp -d gh-install.XXXXXX --tmpdir)
55
BINPATH="${GH_BINPATH:-$HOME/.local/bin}"
66
REPO=$1
77

0 commit comments

Comments
 (0)