summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xget-repos2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-repos b/get-repos
index 9ff701c..8a96125 100755
--- a/get-repos
+++ b/get-repos
@@ -20,7 +20,7 @@ trap 'trap_exit "$(gettext "TERM signal caught. Exiting...")"' TERM HUP QUIT
trap 'trap_exit "$(gettext "Aborted by user! Exiting...")"' INT
trap 'trap_exit "$(gettext "An unknown error has occurred. Exiting...")"' ERR
-TMPDIR="$(mktemp -d /tmp/$0.XXXX)"
+TMPDIR="$(mktemp -d /tmp/$(basename $0).XXXX)"
DBLIST=()
# Repos