aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xadd-authorized-keys2
-rwxr-xr-xadd-git-user2
2 files changed, 2 insertions, 2 deletions
diff --git a/add-authorized-keys b/add-authorized-keys
index 3eef03f..7ed753a 100755
--- a/add-authorized-keys
+++ b/add-authorized-keys
@@ -74,7 +74,7 @@ if [ "$(file --brief $rsaid)" != "$type" ] ; then
fi
### Install the key(s)
-tmp=$(tempfile)
+tmp=$(mktemp)
if [ "$readonly" = yes ] ; then
echo -n "command=\"read-only\" " > $tmp
fi
diff --git a/add-git-user b/add-git-user
index 84660cb..2c4a60c 100755
--- a/add-git-user
+++ b/add-git-user
@@ -30,7 +30,7 @@ fi
user=$1
### Generate a temporary file with configuration for adduser
-tmp=$(tempfile)
+tmp=$(mktemp)
### Cleanup function
cleanup(){